ababio commited on
Commit
7edf61a
1 Parent(s): 94f36b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -218,6 +218,8 @@ if button and user_input:
218
  instances=instances
219
  )
220
 
 
 
221
  emotion_counts = pd.Series(predictions).value_counts(normalize=True).reset_index()
222
  emotion_counts.columns = ['Emotion', 'Percentage']
223
  emotion_counts['Percentage'] *= 100 # Convert to percentage
 
218
  instances=instances
219
  )
220
 
221
+ print("predictions ", predictions)
222
+
223
  emotion_counts = pd.Series(predictions).value_counts(normalize=True).reset_index()
224
  emotion_counts.columns = ['Emotion', 'Percentage']
225
  emotion_counts['Percentage'] *= 100 # Convert to percentage