Spaces:
Build error
Build error
use file upload wdget
Browse files
app.py
CHANGED
|
@@ -31,6 +31,7 @@ def query(filename, provider='openai'):
|
|
| 31 |
|
| 32 |
|
| 33 |
demo = gr.Interface(
|
| 34 |
-
|
|
|
|
| 35 |
"text")
|
| 36 |
demo.launch()
|
|
|
|
| 31 |
|
| 32 |
|
| 33 |
demo = gr.Interface(
|
| 34 |
+
query,
|
| 35 |
+
"file",
|
| 36 |
"text")
|
| 37 |
demo.launch()
|