hfl-rc commited on
Commit
ff72155
1 Parent(s): b1e3e8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -88,8 +88,13 @@ with gr.Blocks() as demo:
88
  gr.Slider(minimum=128, maximum=2048, step=1, value=512, label="Max new tokens / 最大生成长度", render=False),
89
  ],
90
  cache_examples=False,
 
 
 
 
 
91
  )
92
 
93
  if __name__ == "__main__":
94
  load_model("v3") # Load the default model
95
- demo.launch()
 
88
  gr.Slider(minimum=128, maximum=2048, step=1, value=512, label="Max new tokens / 最大生成长度", render=False),
89
  ],
90
  cache_examples=False,
91
+ submit_btn="Send / 发送",
92
+ stop_btn="Stop / 停止",
93
+ retry_btn="🔄 Retry / 重试",
94
+ undo_btn="↩️ Undo / 撤销",
95
+ clear_btn="🗑️ Clear / 清空",
96
  )
97
 
98
  if __name__ == "__main__":
99
  load_model("v3") # Load the default model
100
+ demo.launch()