MoDongbao commited on
Commit
e5e8244
·
1 Parent(s): bac3595

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -106,6 +106,8 @@ with gr.Blocks(title="ChatGPT 学术优化", theme=set_theme, analytics_enabled=
106
  with gr.Row():
107
  resetBtn2 = gr.Button("重置", variant="secondary"); resetBtn.style(size="sm")
108
  stopBtn2 = gr.Button("停止", variant="secondary"); stopBtn.style(size="sm")
 
 
109
  # 功能区显示开关与功能区的互动
110
  def fn_area_visibility(a):
111
  ret = {}
 
106
  with gr.Row():
107
  resetBtn2 = gr.Button("重置", variant="secondary"); resetBtn.style(size="sm")
108
  stopBtn2 = gr.Button("停止", variant="secondary"); stopBtn.style(size="sm")
109
+ with gr.Row():
110
+ status = gr.Markdown(f"Tips: 按Enter提交, 按Shift+Enter换行。\n当前模型: {LLM_MODEL}")
111
  # 功能区显示开关与功能区的互动
112
  def fn_area_visibility(a):
113
  ret = {}