Spaces:
Sleeping
Sleeping
apahilaj commited on
Commit ·
4aa3156
1
Parent(s): fc78b7c
attempt 100
Browse files
app.py
CHANGED
|
@@ -151,5 +151,5 @@ def greet(message, pdf_file):
|
|
| 151 |
return [{"role": "assistant", "content": "No helpful answer found."}]
|
| 152 |
|
| 153 |
# Gradio ChatInterface with file upload support
|
| 154 |
-
iface = gr.ChatInterface(fn=greet,
|
| 155 |
iface.launch(share=True)
|
|
|
|
| 151 |
return [{"role": "assistant", "content": "No helpful answer found."}]
|
| 152 |
|
| 153 |
# Gradio ChatInterface with file upload support
|
| 154 |
+
iface = gr.ChatInterface(fn=greet, title="Your Chatbot Title", additional_inputs="file")
|
| 155 |
iface.launch(share=True)
|