LovnishVerma commited on
Commit
454ebe5
·
verified ·
1 Parent(s): 8dfc55d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,7 +34,7 @@ def load_emotion_model():
34
  return model
35
 
36
  model = load_emotion_model()
37
- print("Time taken to load model: ", time.time() - start)
38
 
39
  # Emotion labels
40
  emotion_labels = ['angry', 'fear', 'happy', 'neutral', 'sad', 'surprise']
@@ -173,4 +173,4 @@ for record in records:
173
  delete_button = st.button(f"Delete {record['_id']}", key=record['_id'])
174
  if delete_button:
175
  collection.delete_one({"_id": record["_id"]})
176
- st.success(f"Record with ID {record['_id']} has been deleted.")
 
34
  return model
35
 
36
  model = load_emotion_model()
37
+ st.write("Time taken to load model: ", time.time() - start)
38
 
39
  # Emotion labels
40
  emotion_labels = ['angry', 'fear', 'happy', 'neutral', 'sad', 'surprise']
 
173
  delete_button = st.button(f"Delete {record['_id']}", key=record['_id'])
174
  if delete_button:
175
  collection.delete_one({"_id": record["_id"]})
176
+ st.success(f"Record with ID {record['_id']} has been deleted.")