Spaces:
Sleeping
Sleeping
Update chain.py
Browse files
chain.py
CHANGED
@@ -89,6 +89,11 @@ def get_answer(
|
|
89 |
logging.info(f"User question: {question}")
|
90 |
|
91 |
print("File writing complete.")
|
|
|
|
|
|
|
|
|
|
|
92 |
|
93 |
result = chain(
|
94 |
inputs={"question": question, "chat_history": chat_history},
|
|
|
89 |
logging.info(f"User question: {question}")
|
90 |
|
91 |
print("File writing complete.")
|
92 |
+
|
93 |
+
wandb.log({"question": question })
|
94 |
+
|
95 |
+
# Log training progress
|
96 |
+
|
97 |
|
98 |
result = chain(
|
99 |
inputs={"question": question, "chat_history": chat_history},
|