Spaces:
Running
Running
app14
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ qa_chain = ConversationalRetrievalChain.from_llm(
|
|
105 |
)
|
106 |
|
107 |
|
108 |
-
def chat_interface(inputs):
|
109 |
question = inputs["question"]
|
110 |
chat_history = inputs["chat_history"]
|
111 |
# Assuming `chain` is your instance of ConversationalRetrievalChain
|
|
|
105 |
)
|
106 |
|
107 |
|
108 |
+
def chat_interface(inputs,chat_history):
|
109 |
question = inputs["question"]
|
110 |
chat_history = inputs["chat_history"]
|
111 |
# Assuming `chain` is your instance of ConversationalRetrievalChain
|