youssef1214 commited on
Commit
13d39fe
·
1 Parent(s): 206c51f

Update Database.py

Browse files
Files changed (1) hide show
  1. Database.py +1 -1
Database.py CHANGED
@@ -113,7 +113,7 @@ def LabelingFeedback():
113
  while True:
114
  semphoreFeedback.acquire()
115
  feedback=queuedUnLabeledFeedbacks.pop(0)
116
- tmpdict=models.getlabelfeedback(feedback.feedback)
117
  feedback.label=tmpdict["label"]
118
  db.collection("feedbacks").document(feedback.id).update(tmpdict)
119
 
 
113
  while True:
114
  semphoreFeedback.acquire()
115
  feedback=queuedUnLabeledFeedbacks.pop(0)
116
+ tmpdict=models.modelpredict(feedback.feedback)
117
  feedback.label=tmpdict["label"]
118
  db.collection("feedbacks").document(feedback.id).update(tmpdict)
119