Spaces:
Sleeping
Sleeping
scottlepp
commited on
Commit
·
aa5d057
1
Parent(s):
ff3c600
add table input
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def inference(question: str, table: List[str]) -> str:
|
|
| 32 |
|
| 33 |
gradio_app = gr.Interface(
|
| 34 |
inference,
|
| 35 |
-
inputs="textbox",
|
| 36 |
outputs="label",
|
| 37 |
title="Text To SQL",
|
| 38 |
)
|
|
|
|
| 32 |
|
| 33 |
gradio_app = gr.Interface(
|
| 34 |
inference,
|
| 35 |
+
inputs=["textbox", "textbox"],
|
| 36 |
outputs="label",
|
| 37 |
title="Text To SQL",
|
| 38 |
)
|