Spaces:
Runtime error
Runtime error
jonathanIckovich commited on
Commit ·
28f5dc9
1
Parent(s): 937cccd
update8
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from transformers import AutoModelForImageClassification, AutoTokenizer
|
|
| 3 |
from PIL import Image
|
| 4 |
|
| 5 |
# Load Hugging Face model and tokenizer
|
| 6 |
-
model_name = 'ImageDifferentiator' # Replace with the specific model name
|
| 7 |
model = AutoModelForImageClassification.from_pretrained(model_name)
|
| 8 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 9 |
|
|
|
|
| 3 |
from PIL import Image
|
| 4 |
|
| 5 |
# Load Hugging Face model and tokenizer
|
| 6 |
+
model_name = 'ImageDifferentiator.pkl' # Replace with the specific model name
|
| 7 |
model = AutoModelForImageClassification.from_pretrained(model_name)
|
| 8 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 9 |
|