Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -117,6 +117,15 @@ def csv_prompter(question,csv_name):
|
|
117 |
|
118 |
|
119 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
chatbot = gr.Chatbot()
|
121 |
msg = gr.Textbox()
|
122 |
clear = gr.Button("Clear")
|
|
|
117 |
|
118 |
|
119 |
with gr.Blocks() as demo:
|
120 |
+
gr.Markdown("## Autonomous ChatDoctor (openai version), based on disease database knowledge")
|
121 |
+
gr.Examples(
|
122 |
+
["If I have frontal headache, fever, and painful sinuses, what disease should I have, and what medical test should I take?"],
|
123 |
+
[msg],
|
124 |
+
restart, chatbot, chatbot
|
125 |
+
cache_examples=True,
|
126 |
+
)
|
127 |
+
|
128 |
+
|
129 |
chatbot = gr.Chatbot()
|
130 |
msg = gr.Textbox()
|
131 |
clear = gr.Button("Clear")
|