Changes in string
Browse files
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, {'
|
70 |
-
'
|
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",
|