Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ sentiment = pipeline('sentiment-analysis')
|
|
| 6 |
def get_sentiment(input_text):
|
| 7 |
return sentiment(input_text)
|
| 8 |
|
| 9 |
-
front_end = gr.Interface(fn = get_sentiment
|
| 10 |
inputs = "text",
|
| 11 |
outputs = ["text"],
|
| 12 |
title = "Toxicity Detector",
|
|
|
|
| 6 |
def get_sentiment(input_text):
|
| 7 |
return sentiment(input_text)
|
| 8 |
|
| 9 |
+
front_end = gr.Interface(fn = get_sentiment,
|
| 10 |
inputs = "text",
|
| 11 |
outputs = ["text"],
|
| 12 |
title = "Toxicity Detector",
|