Spaces:
Sleeping
Sleeping
arjunanand13
commited on
Commit
•
4b8982c
1
Parent(s):
db9bd14
Update app.py
Browse files
app.py
CHANGED
@@ -89,6 +89,7 @@ def format_prompt(query):
|
|
89 |
def qa_infer(query):
|
90 |
formatted_prompt = format_prompt(query)
|
91 |
result = chain({"question": formatted_prompt, "chat_history": chat_history})
|
|
|
92 |
return result['answer']
|
93 |
|
94 |
EXAMPLES = ["How to use IPU1_0 instead of A15_0 to process NDK in TDA2x-EVM",
|
|
|
89 |
def qa_infer(query):
|
90 |
formatted_prompt = format_prompt(query)
|
91 |
result = chain({"question": formatted_prompt, "chat_history": chat_history})
|
92 |
+
print(result['answer'])
|
93 |
return result['answer']
|
94 |
|
95 |
EXAMPLES = ["How to use IPU1_0 instead of A15_0 to process NDK in TDA2x-EVM",
|