Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from fastai.vision.all import *
|
|
| 5 |
# repo_id = "YOUR_USERNAME/YOUR_LEARNER_NAME"
|
| 6 |
repo_id = "macundin/entrega3"
|
| 7 |
learner = from_pretrained_fastai(repo_id)
|
| 8 |
-
labels = ["
|
| 9 |
# Definimos una función que se encarga de llevar a cabo las predicciones
|
| 10 |
def predict(texto):
|
| 11 |
#img = PILImage.create(img)
|
|
|
|
| 5 |
# repo_id = "YOUR_USERNAME/YOUR_LEARNER_NAME"
|
| 6 |
repo_id = "macundin/entrega3"
|
| 7 |
learner = from_pretrained_fastai(repo_id)
|
| 8 |
+
labels = ["negative","positive"]
|
| 9 |
# Definimos una función que se encarga de llevar a cabo las predicciones
|
| 10 |
def predict(texto):
|
| 11 |
#img = PILImage.create(img)
|