greyfoss commited on
Commit
ac524ea
·
verified ·
1 Parent(s): a264b43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -135,14 +135,14 @@ def gradio(model, tokenizer):
135
  repetition_penalty,
136
  no_repeat_ngram_size,
137
  ],
138
- stop_btn = "🛑 Stop",
139
  retry_btn = "🔄 Regenerate",
 
140
  undo_btn = "↩️ Remove last turn",
141
  clear_btn = "➕ New conversation",
142
- examples=[[
143
- "帮我生成一句英文,描述春天的美好。",
144
- "推荐一些好看的电影",
145
- "Write a poem for me."
146
  ]]
147
  )
148
 
 
135
  repetition_penalty,
136
  no_repeat_ngram_size,
137
  ],
 
138
  retry_btn = "🔄 Regenerate",
139
+ stop_btn = "🛑 Stop",
140
  undo_btn = "↩️ Remove last turn",
141
  clear_btn = "➕ New conversation",
142
+ examples=[
143
+ ["帮我生成一句英文,描述春天的美好。", 30, 0.9, 0.95, 1.2, 5],
144
+ ["Write a poem for me.", 50, 0.8, 0.9, 1.3, 6],
145
+ ["Give me some chinese proverbs.", 100, 0.9, 1.0, 1, 5]
146
  ]]
147
  )
148