Jkalonji commited on
Commit
b4a7040
·
verified ·
1 Parent(s): 9b8afb3

Trying out some models

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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
- "impira/layoutlm-document-qa",
93
- "impira/layoutlm-invoices"], label="Choose a model")
 
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()