Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ if __name__ == "__main__":
|
|
86 |
result = pipeline.predict(text)
|
87 |
return (
|
88 |
f"Prediction: {result['label']}\n"
|
89 |
-
f"Confidence Scores: Negative={result['probabilities'][0]:.2%}, Positive={result['probabilities'][1]:.2%}"
|
90 |
)
|
91 |
|
92 |
# Create a Gradio interface
|
|
|
86 |
result = pipeline.predict(text)
|
87 |
return (
|
88 |
f"Prediction: {result['label']}\n"
|
89 |
+
#f"Confidence Scores: Negative={result['probabilities'][0]:.2%}, Positive={result['probabilities'][1]:.2%}"
|
90 |
)
|
91 |
|
92 |
# Create a Gradio interface
|