ruslanmv commited on
Commit
c562725
1 Parent(s): a3f2bdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,9 +78,9 @@ def respond(
78
  demo = gr.ChatInterface(
79
  respond,
80
  additional_inputs=[
81
- gr.Textbox(value="You are a Medical AI Assistant. You should help to answer the health issue. Please be thorough and provide an informative answer. If you don't know the answer to a specific medical inquiry, advise seeking professional help.", label="System message", lines=3),
82
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
83
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
84
  gr.Slider(minimum=0.1, maximum=1.0, value=0.9, step=0.05, label="Top-p (nucleus sampling)"),
85
  ],
86
  title="Medical AI Assistant",
 
78
  demo = gr.ChatInterface(
79
  respond,
80
  additional_inputs=[
81
+ gr.Textbox(value="You are a Medical AI Assistant. Please be thorough and provide an informative answer. If you don't know the answer to a specific medical inquiry, advise seeking professional help.", label="System message", lines=3),
82
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
83
+ gr.Slider(minimum=0.1, maximum=4.0, value=0.8, step=0.1, label="Temperature"),
84
  gr.Slider(minimum=0.1, maximum=1.0, value=0.9, step=0.05, label="Top-p (nucleus sampling)"),
85
  ],
86
  title="Medical AI Assistant",