Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ with gr.Blocks() as demo:
|
|
59 |
@spaces.GPU
|
60 |
def bot(history):
|
61 |
print("Question: ", history[-1][0])
|
62 |
-
bot_message = llm_chain.invoke(
|
63 |
print("Response: ", bot_message)
|
64 |
history[-1][1] = ""
|
65 |
history[-1][1] += bot_message
|
|
|
59 |
@spaces.GPU
|
60 |
def bot(history):
|
61 |
print("Question: ", history[-1][0])
|
62 |
+
bot_message = llm_chain.invoke(input=history[-1][0])
|
63 |
print("Response: ", bot_message)
|
64 |
history[-1][1] = ""
|
65 |
history[-1][1] += bot_message
|