Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from PIL import Image
|
|
| 3 |
import io, torch
|
| 4 |
from transformers import AutoImageProcessor, AutoModelForImageClassification
|
| 5 |
|
| 6 |
-
MODEL_ID = "
|
| 7 |
PT_MAP = {
|
| 8 |
"plastic":"plastico", "paper":"papel", "glass":"vidro",
|
| 9 |
"metal":"metal", "cardboard":"papel", "trash":"nao_identificado"
|
|
|
|
| 3 |
import io, torch
|
| 4 |
from transformers import AutoImageProcessor, AutoModelForImageClassification
|
| 5 |
|
| 6 |
+
MODEL_ID = "huggingface-projects/resnet-50"
|
| 7 |
PT_MAP = {
|
| 8 |
"plastic":"plastico", "paper":"papel", "glass":"vidro",
|
| 9 |
"metal":"metal", "cardboard":"papel", "trash":"nao_identificado"
|