Spaces:
Sleeping
Sleeping
Commit
·
7572f69
1
Parent(s):
66e5432
chore: add onnx
Browse filesSigned-off-by: Suvaditya Mukherjee <[email protected]>
app.py
CHANGED
@@ -182,7 +182,8 @@ if __name__ == "__main__":
|
|
182 |
chat_history, tool_query, query_results
|
183 |
)
|
184 |
# Generate result from the
|
185 |
-
generated_text = generate_answer(chat_history)
|
|
|
186 |
|
187 |
# metrics = {
|
188 |
# "conversation": {
|
|
|
182 |
chat_history, tool_query, query_results
|
183 |
)
|
184 |
# Generate result from the
|
185 |
+
# generated_text = generate_answer(chat_history)
|
186 |
+
generated_text = onnx_inference(chat_history, rag_query, tokenizer)
|
187 |
|
188 |
# metrics = {
|
189 |
# "conversation": {
|