alemarino2025 commited on
Commit
136840c
·
verified ·
1 Parent(s): f45a66a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
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)