Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from datasets import load_dataset
|
|
| 3 |
from transformers import pipeline
|
| 4 |
from presentation import main_title, examples
|
| 5 |
|
| 6 |
-
model_name= '
|
| 7 |
|
| 8 |
def clasificar_comentarios(comentario):
|
| 9 |
cls= pipeline("text-classification", model=model_name)
|
|
|
|
| 3 |
from transformers import pipeline
|
| 4 |
from presentation import main_title, examples
|
| 5 |
|
| 6 |
+
model_name= 'hackathon-pln-es/electricidad-base-generator-fake-news'
|
| 7 |
|
| 8 |
def clasificar_comentarios(comentario):
|
| 9 |
cls= pipeline("text-classification", model=model_name)
|