Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ with gr.Blocks() as demo:
|
|
77 |
chat_history_tuples.append((message[0], message[1]))
|
78 |
|
79 |
# Get result from QA chain
|
80 |
-
result = pdf_qa(query)
|
81 |
|
82 |
# Append user message and response to chat history
|
83 |
chat_history.append((query, result["answer"]))
|
|
|
77 |
chat_history_tuples.append((message[0], message[1]))
|
78 |
|
79 |
# Get result from QA chain
|
80 |
+
result = pdf_qa(query)
|
81 |
|
82 |
# Append user message and response to chat history
|
83 |
chat_history.append((query, result["answer"]))
|