Spaces:
Sleeping
Sleeping
Commit
•
f194115
1
Parent(s):
3df47d4
Update app.py
Browse files
app.py
CHANGED
@@ -77,14 +77,14 @@ def greet(query):
|
|
77 |
answer,sources,evals = get_response_from_query(db,query,2)
|
78 |
return answer,sources,evals
|
79 |
examples = [
|
80 |
-
["
|
81 |
-
["
|
82 |
-
["
|
83 |
-
["
|
84 |
-
["
|
85 |
-
["
|
86 |
]
|
87 |
-
demo = gr.Interface(fn=greet, title="
|
88 |
outputs=[gr.components.Textbox(lines=3, label="Response"),
|
89 |
gr.components.Textbox(lines=3, label="Source"),
|
90 |
gr.components.Textbox(lines=3, label="Evaluation")],
|
|
|
77 |
answer,sources,evals = get_response_from_query(db,query,2)
|
78 |
return answer,sources,evals
|
79 |
examples = [
|
80 |
+
["What to do for Medicare and Continuing Care?"],
|
81 |
+
["What causes Prostate Cancer?"],
|
82 |
+
["What are the treatments for Kidney Disease?"],
|
83 |
+
["How to diagnose Alzheimer's Disease?"],
|
84 |
+
["What causes Low Vision?"],
|
85 |
+
["What is Diabetic Retinopathy?"]
|
86 |
]
|
87 |
+
demo = gr.Interface(fn=greet, title="MedNavi", inputs="text",
|
88 |
outputs=[gr.components.Textbox(lines=3, label="Response"),
|
89 |
gr.components.Textbox(lines=3, label="Source"),
|
90 |
gr.components.Textbox(lines=3, label="Evaluation")],
|