Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ llm.streaming = True
|
|
28 |
import gradio as gr
|
29 |
|
30 |
def chatbot_response(user_input):
|
31 |
-
return chat_chain.
|
32 |
|
33 |
gr.Interface(
|
34 |
fn=chatbot_response,
|
|
|
28 |
import gradio as gr
|
29 |
|
30 |
def chatbot_response(user_input):
|
31 |
+
return chat_chain.invoke({"user_input": user_input})
|
32 |
|
33 |
gr.Interface(
|
34 |
fn=chatbot_response,
|