Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ if __name__ == "__main__":
|
|
85 |
def gradio_predict(text):
|
86 |
result = pipeline.predict(text)
|
87 |
return (
|
88 |
-
f"Prediction: {result['label']}
|
89 |
#f"Confidence Scores: Negative={result['probabilities'][0]:.2%}, Positive={result['probabilities'][1]:.2%}"
|
90 |
)
|
91 |
|
|
|
85 |
def gradio_predict(text):
|
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 |
|