Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import io
|
|
| 5 |
|
| 6 |
# Load the image classification pipeline
|
| 7 |
try:
|
| 8 |
-
classifier = pipeline(task="image-classification", model="
|
| 9 |
except Exception as e:
|
| 10 |
st.error(f"Error loading the model: {e}")
|
| 11 |
st.stop()
|
|
|
|
| 5 |
|
| 6 |
# Load the image classification pipeline
|
| 7 |
try:
|
| 8 |
+
classifier = pipeline(task="image-classification", model="microsoft/resnet-50")
|
| 9 |
except Exception as e:
|
| 10 |
st.error(f"Error loading the model: {e}")
|
| 11 |
st.stop()
|