Spaces:
Runtime error
Runtime error
Commit ·
326eb74
1
Parent(s): dbc4e8e
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ if img is not None:
|
|
| 20 |
st.write(img)
|
| 21 |
extractor = AutoFeatureExtractor.from_pretrained("Hrishikesh332/autotrain-meme-classification-42897109437")
|
| 22 |
model = AutoModelForImageClassification.from_pretrained("Hrishikesh332/autotrain-meme-classification-42897109437")
|
| 23 |
-
pred=model
|
| 24 |
st.code(pred)
|
| 25 |
|
| 26 |
|
|
|
|
| 20 |
st.write(img)
|
| 21 |
extractor = AutoFeatureExtractor.from_pretrained("Hrishikesh332/autotrain-meme-classification-42897109437")
|
| 22 |
model = AutoModelForImageClassification.from_pretrained("Hrishikesh332/autotrain-meme-classification-42897109437")
|
| 23 |
+
pred=model(img)
|
| 24 |
st.code(pred)
|
| 25 |
|
| 26 |
|