wwpop commited on
Commit
6e484d8
1 Parent(s): b974d27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -69,7 +69,9 @@ demo = gr.ChatInterface(
69
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
70
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
71
  ],
72
- css=mathjax_script # 添加MathJax脚本
 
 
73
  )
74
 
75
  if __name__ == "__main__":
 
69
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
70
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
71
  ],
72
+ css=mathjax_script,
73
+ chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel")
74
+
75
  )
76
 
77
  if __name__ == "__main__":