Update TableQAGradio.py
Browse files- TableQAGradio.py +2 -1
TableQAGradio.py
CHANGED
@@ -31,7 +31,8 @@ def main(model_choice, file_path, text):
|
|
31 |
iface = gr.Interface(
|
32 |
fn=main,
|
33 |
inputs=[
|
34 |
-
gr.Dropdown(choices=list(models.keys()), label="Select Model", value=list(models.keys())[0])
|
|
|
35 |
gr.Textbox(type="text", label="Enter text"),
|
36 |
],
|
37 |
outputs=[gr.Textbox(type="text", label="Text Input Output")],
|
|
|
31 |
iface = gr.Interface(
|
32 |
fn=main,
|
33 |
inputs=[
|
34 |
+
gr.Dropdown(choices=list(models.keys()), label="Select Model", value=list(models.keys())[0]),
|
35 |
+
gr.File(type="filepath", label="Upload XLSX file"),
|
36 |
gr.Textbox(type="text", label="Enter text"),
|
37 |
],
|
38 |
outputs=[gr.Textbox(type="text", label="Text Input Output")],
|