Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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.
|
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.
|
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",
|