Trying out some models
Browse files
app.py
CHANGED
@@ -89,8 +89,9 @@ def gradio_adapted_RAG(model_name, query):
|
|
89 |
|
90 |
|
91 |
dropdown = gr.Dropdown(choices=["distilbert-base-uncased-distilled-squad",
|
92 |
-
"
|
93 |
-
"
|
|
|
94 |
|
95 |
iface = gr.Interface(fn=gradio_adapted_RAG, inputs=[dropdown, "text"], outputs="text")
|
96 |
iface.launch()
|
|
|
89 |
|
90 |
|
91 |
dropdown = gr.Dropdown(choices=["distilbert-base-uncased-distilled-squad",
|
92 |
+
"deepset/roberta-base-squad2",
|
93 |
+
"CATIE-AQ/QAmembert-large",
|
94 |
+
"FlagAlpha/Llama2-Chinese-13b-Chat"], label="Choose a model")
|
95 |
|
96 |
iface = gr.Interface(fn=gradio_adapted_RAG, inputs=[dropdown, "text"], outputs="text")
|
97 |
iface.launch()
|