Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ final_prompt = ChatPromptTemplate.from_messages(
|
|
| 55 |
|
| 56 |
chain = final_prompt | chat
|
| 57 |
|
| 58 |
-
def response(text):
|
| 59 |
answer = chain.invoke(text)
|
| 60 |
return answer.content
|
| 61 |
|
|
|
|
| 55 |
|
| 56 |
chain = final_prompt | chat
|
| 57 |
|
| 58 |
+
def response(text, history):
|
| 59 |
answer = chain.invoke(text)
|
| 60 |
return answer.content
|
| 61 |
|