mskov commited on
Commit
2724e1c
·
1 Parent(s): 1ff03d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,8 +33,8 @@ def classify_toxicity(audio_file, text_input, selected_model):
33
 
34
  toxicity_score = toxicity_results["toxicity"][0]
35
  print(toxicity_score)
36
-
37
- return f"Toxicity Score ({available_models[selected_model]}): {toxicity_score:.4f}"
38
 
39
  iface = gr.Interface(
40
  fn=classify_toxicity,
 
33
 
34
  toxicity_score = toxicity_results["toxicity"][0]
35
  print(toxicity_score)
36
+ return toxicity_score
37
+ # return f"Toxicity Score ({available_models[selected_model]}): {toxicity_score:.4f}"
38
 
39
  iface = gr.Interface(
40
  fn=classify_toxicity,