Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,6 @@ import gradio as gr
|
|
11 |
#learner = load_learner('modelML.pkl')
|
12 |
|
13 |
# Modelo de clasificaci贸n basados en mecanismos de atenci贸n
|
14 |
-
from huggingface_hub import notebook_login
|
15 |
-
notebook_login()
|
16 |
classifier = pipeline('text-classification', model='edgilr/clasificador-rotten-tomatoes')
|
17 |
|
18 |
def predict(txt):
|
|
|
11 |
#learner = load_learner('modelML.pkl')
|
12 |
|
13 |
# Modelo de clasificaci贸n basados en mecanismos de atenci贸n
|
|
|
|
|
14 |
classifier = pipeline('text-classification', model='edgilr/clasificador-rotten-tomatoes')
|
15 |
|
16 |
def predict(txt):
|