Spaces:
Sleeping
Sleeping
pminervini
commited on
Commit
•
bbe5900
1
Parent(s):
529ee77
update
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def rag_pipeline(prompt, index="pubmed"):
|
|
68 |
# Create the Gradio interface
|
69 |
iface = gr.Interface(fn=rag_pipeline,
|
70 |
inputs=[
|
71 |
-
gr.Textbox(label="Input Prompt"),
|
72 |
gr.Textbox(label="Elasticsearch Index", value="pubmed") # Corrected here
|
73 |
],
|
74 |
outputs=[
|
|
|
68 |
# Create the Gradio interface
|
69 |
iface = gr.Interface(fn=rag_pipeline,
|
70 |
inputs=[
|
71 |
+
gr.Textbox(label="Input Prompt", value="Are group 2 innate lymphoid cells (ILC2s) increased in chronic rhinosinusitis with nasal polyps or eosinophilia?"),
|
72 |
gr.Textbox(label="Elasticsearch Index", value="pubmed") # Corrected here
|
73 |
],
|
74 |
outputs=[
|