Spaces:
Sleeping
Sleeping
Commit
·
7aff13a
1
Parent(s):
eb1a71a
update
Browse files
app.py
CHANGED
@@ -163,7 +163,7 @@ def rag_pipeline(prompt, index="pubmed", num_docs=3, model_name="HuggingFaceH4/z
|
|
163 |
iface = gr.Interface(fn=rag_pipeline,
|
164 |
inputs=[
|
165 |
gr.Textbox(label="Input Prompt", value="Are group 2 innate lymphoid cells (ILC2s) increased in chronic rhinosinusitis with nasal polyps or eosinophilia?"),
|
166 |
-
gr.Dropdown(label="Index", choices=["pubmed", "wikipedia", "textbooks"], value="pubmed"),
|
167 |
gr.Number(label="Number of Documents", value=3, step=1, minimum=0, maximum=10),
|
168 |
gr.Dropdown(label="Model", choices=["HuggingFaceH4/zephyr-7b-beta", "meta-llama/Llama-2-7b-chat-hf", "meta-llama/Llama-2-13b-chat-hf", "meta-llama/Llama-2-70b-chat-hf", "openai/gpt-3.5-turbo"], value="HuggingFaceH4/zephyr-7b-beta")
|
169 |
],
|
|
|
163 |
iface = gr.Interface(fn=rag_pipeline,
|
164 |
inputs=[
|
165 |
gr.Textbox(label="Input Prompt", value="Are group 2 innate lymphoid cells (ILC2s) increased in chronic rhinosinusitis with nasal polyps or eosinophilia?"),
|
166 |
+
gr.Dropdown(label="Index", choices=["pubmed", "wikipedia", "textbooks", "statpearls"], value="pubmed"),
|
167 |
gr.Number(label="Number of Documents", value=3, step=1, minimum=0, maximum=10),
|
168 |
gr.Dropdown(label="Model", choices=["HuggingFaceH4/zephyr-7b-beta", "meta-llama/Llama-2-7b-chat-hf", "meta-llama/Llama-2-13b-chat-hf", "meta-llama/Llama-2-70b-chat-hf", "openai/gpt-3.5-turbo"], value="HuggingFaceH4/zephyr-7b-beta")
|
169 |
],
|