Spaces:
Sleeping
Sleeping
karthikeyan-r
commited on
Commit
•
ce50080
1
Parent(s):
e5c7f85
Update app.py
Browse files
app.py
CHANGED
@@ -255,7 +255,7 @@ class ChatDocumentQA:
|
|
255 |
return "", chat_history
|
256 |
except:
|
257 |
chat_history.append((message, "Please Upload Document or URL"))
|
258 |
-
return
|
259 |
|
260 |
def gradio_interface(self) -> None:
|
261 |
"""Create a Gradio interface for the chatbot."""
|
|
|
255 |
return "", chat_history
|
256 |
except:
|
257 |
chat_history.append((message, "Please Upload Document or URL"))
|
258 |
+
return input_text, chatbot_response
|
259 |
|
260 |
def gradio_interface(self) -> None:
|
261 |
"""Create a Gradio interface for the chatbot."""
|