mskov commited on
Commit
5e7d9cc
·
1 Parent(s): 25f0e09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ def classify_toxicity(audio_file, text_input, classify_anxiety, emo_class, expli
91
  classification_df = pd.DataFrame.from_dict(classification_output)
92
  print("df ", classification_df.columns)
93
 
94
- plot.update(x=classification_df["labels"], y=classification_df["scores"], xlabel="Labels", ylabel="Scores")
95
 
96
  return toxicity_score, classification_df, transcribed_text
97
  # return f"Toxicity Score ({available_models[selected_model]}): {toxicity_score:.4f}"
 
91
  classification_df = pd.DataFrame.from_dict(classification_output)
92
  print("df ", classification_df.columns)
93
 
94
+ plot.update(x=classification_df["labels"], y=classification_df["scores"])
95
 
96
  return toxicity_score, classification_df, transcribed_text
97
  # return f"Toxicity Score ({available_models[selected_model]}): {toxicity_score:.4f}"