Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
import gradio as gr
|
| 2 |
from ai_assistant import get_response
|
|
|
|
| 3 |
|
| 4 |
def respond(message, history):
|
| 5 |
-
return get_response(message, history)
|
| 6 |
|
| 7 |
chatbot = gr.ChatInterface(
|
| 8 |
respond,
|
|
|
|
|
|
|
| 1 |
from ai_assistant import get_response
|
| 2 |
+
import gradio as gr
|
| 3 |
|
| 4 |
def respond(message, history):
|
| 5 |
+
return get_response(message, history) # history is passed, ignored for now
|
| 6 |
|
| 7 |
chatbot = gr.ChatInterface(
|
| 8 |
respond,
|