Adrian8as commited on
Commit
3a95125
·
verified ·
1 Parent(s): 65c6abe

Changes in string

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,8 +66,8 @@ def main(audio):
66
  newpred, proba = predict(newdf, loaded_model)
67
  final = get_label(newpred)
68
 
69
- return final, {'Probability - Si': proba[1],
70
- 'Probability - No': proba[0]}
71
 
72
  demo = gr.Interface(
73
  title = "Autoagent | YES or NO Classification - Layer7",
 
66
  newpred, proba = predict(newdf, loaded_model)
67
  final = get_label(newpred)
68
 
69
+ return final, {'Si probability': proba[1],
70
+ 'No probability': proba[0]}
71
 
72
  demo = gr.Interface(
73
  title = "Autoagent | YES or NO Classification - Layer7",