Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,8 +14,8 @@ def gradio_ask_ai(user_input):
|
|
| 14 |
f.close()
|
| 15 |
response = index.query(query)
|
| 16 |
return response.response
|
| 17 |
-
a = gradio.File()
|
| 18 |
-
|
| 19 |
-
demo = gradio.Interface(fn=gradio_ask_ai, inputs = "text", outputs = [a], title = "Meshworks bot")
|
| 20 |
|
| 21 |
demo.launch(inline=False)
|
|
|
|
| 14 |
f.close()
|
| 15 |
response = index.query(query)
|
| 16 |
return response.response
|
| 17 |
+
#a = gradio.File()
|
| 18 |
+
demo = gradio.Interface(fn=gradio_ask_ai, inputs = "text", outputs = "text", title = "Meshworks bot")
|
| 19 |
+
#demo = gradio.Interface(fn=gradio_ask_ai, inputs = "text", outputs = [a], title = "Meshworks bot")
|
| 20 |
|
| 21 |
demo.launch(inline=False)
|