Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ examples = [
|
|
46 |
|
47 |
|
48 |
model_binary = pipeline("sentiment-analysis", model="hackathon-pln-es/readability-es-sentences", return_all_scores=True)
|
49 |
-
model_ternary = pipeline("sentiment-analysis", model="hackathon-pln-es/readability-es-3class-
|
50 |
|
51 |
def predict(text, levels):
|
52 |
if levels == 0:
|
|
|
46 |
|
47 |
|
48 |
model_binary = pipeline("sentiment-analysis", model="hackathon-pln-es/readability-es-sentences", return_all_scores=True)
|
49 |
+
model_ternary = pipeline("sentiment-analysis", model="hackathon-pln-es/readability-es-3class-paragraphs", return_all_scores=True)
|
50 |
|
51 |
def predict(text, levels):
|
52 |
if levels == 0:
|