Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -231,12 +231,10 @@ def predict(user_input, timeout_seconds=1800): # 30 minutes = 1800 seconds
|
|
231 |
# user_input = input("You: ")
|
232 |
# if user_input.lower() in ["quit", "exit"]:
|
233 |
# break
|
234 |
-
|
235 |
-
save_feedback(user_input, context_for_query, prediction)
|
236 |
-
|
237 |
prediction = response.choices[0].message.content.strip()
|
238 |
|
239 |
-
|
240 |
|
241 |
#except Exception as e:
|
242 |
# prediction = str(e)
|
|
|
231 |
# user_input = input("You: ")
|
232 |
# if user_input.lower() in ["quit", "exit"]:
|
233 |
# break
|
234 |
+
|
|
|
|
|
235 |
prediction = response.choices[0].message.content.strip()
|
236 |
|
237 |
+
save_feedback(user_input, context_for_query, prediction)
|
238 |
|
239 |
#except Exception as e:
|
240 |
# prediction = str(e)
|