jay-maharlika commited on
Commit
f194115
1 Parent(s): 3df47d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
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
- ["How to be happy"],
81
- ["Climate Change Challenges in Europe"],
82
- ["Philosophy in the world of Minimalism"],
83
- ["Hate Speech vs Freedom of Speech"],
84
- ["Articles by Noam Chomsky on US Politics"],
85
- ["The importance of values and reflection"]
86
  ]
87
- demo = gr.Interface(fn=greet, title="cicero-semantic-search", 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")],
 
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")],