Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -44,16 +44,12 @@ question = '''\
|
|
44 |
Could these symptoms be related to hypothyroidism?
|
45 |
If so, what steps should I take to get a proper diagnosis and discuss treatment options?
|
46 |
'''
|
47 |
-
|
48 |
-
examples = [
|
49 |
-
[symptoms, question]
|
50 |
-
]
|
51 |
-
|
52 |
iface = gr.Interface(
|
53 |
fn=askme,
|
54 |
inputs=["Symptoms", "Question"],
|
55 |
outputs="text",
|
56 |
-
examples =
|
57 |
title="Medical AI Chatbot",
|
58 |
description="Ask me a medical question!"
|
59 |
)
|
|
|
44 |
Could these symptoms be related to hypothyroidism?
|
45 |
If so, what steps should I take to get a proper diagnosis and discuss treatment options?
|
46 |
'''
|
47 |
+
examples = [ {"Symptoms": symptoms, "Question": question}]
|
|
|
|
|
|
|
|
|
48 |
iface = gr.Interface(
|
49 |
fn=askme,
|
50 |
inputs=["Symptoms", "Question"],
|
51 |
outputs="text",
|
52 |
+
examples = examples,
|
53 |
title="Medical AI Chatbot",
|
54 |
description="Ask me a medical question!"
|
55 |
)
|