Spaces:
Sleeping
Sleeping
sowbaranika13
commited on
Commit
•
081c58a
1
Parent(s):
6f8ec71
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoModelForImageClassification, AutoTokenizer
|
|
4 |
from PIL import Image
|
5 |
|
6 |
# Load your model and tokenizer
|
7 |
-
model_name = "
|
8 |
model = AutoModelForImageClassification.from_pretrained(model_name)
|
9 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
10 |
|
|
|
4 |
from PIL import Image
|
5 |
|
6 |
# Load your model and tokenizer
|
7 |
+
model_name = "inceptionv3_class.h5"
|
8 |
model = AutoModelForImageClassification.from_pretrained(model_name)
|
9 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
10 |
|