Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def respond(
|
|
82 |
demo = gr.Blocks()
|
83 |
|
84 |
with demo:
|
85 |
-
gr.Markdown("#
|
86 |
|
87 |
chatbot = gr.ChatInterface(
|
88 |
respond,
|
@@ -92,7 +92,7 @@ with demo:
|
|
92 |
"You are going to act like a medical practitioner. Hear the symptoms, "
|
93 |
"diagnose the disease, mention the disease name as heading, and suggest tips "
|
94 |
"to overcome the issue. Base your answers on the provided document. limit the response to 3-4 sentences. list out the response point by point"
|
95 |
-
),
|
96 |
label="System message",
|
97 |
),
|
98 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1,visible=False, label="Max new tokens"),
|
|
|
82 |
demo = gr.Blocks()
|
83 |
|
84 |
with demo:
|
85 |
+
gr.Markdown("# DIAGNIFY 🕊️")
|
86 |
|
87 |
chatbot = gr.ChatInterface(
|
88 |
respond,
|
|
|
92 |
"You are going to act like a medical practitioner. Hear the symptoms, "
|
93 |
"diagnose the disease, mention the disease name as heading, and suggest tips "
|
94 |
"to overcome the issue. Base your answers on the provided document. limit the response to 3-4 sentences. list out the response point by point"
|
95 |
+
), visible=False,
|
96 |
label="System message",
|
97 |
),
|
98 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1,visible=False, label="Max new tokens"),
|