Spaces:
Sleeping
Sleeping
Update app.py
#1
by
samyak24jain
- opened
app.py
CHANGED
|
@@ -82,7 +82,7 @@ def greet(question, pdf_file):
|
|
| 82 |
else:
|
| 83 |
return "No helpful answer found."
|
| 84 |
|
| 85 |
-
iface = gr.
|
| 86 |
iface.launch(share=True)
|
| 87 |
|
| 88 |
|
|
|
|
| 82 |
else:
|
| 83 |
return "No helpful answer found."
|
| 84 |
|
| 85 |
+
iface = gr.ChatInterface(fn=greet, inputs=["text", "file"], outputs="text")
|
| 86 |
iface.launch(share=True)
|
| 87 |
|
| 88 |
|