Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ model = AutoModelForImageClassification.from_pretrained(model_name).to(device)
|
|
| 32 |
model.eval()
|
| 33 |
|
| 34 |
# Print the model architecture for inspection.
|
| 35 |
-
print(model)
|
| 36 |
|
| 37 |
# Define custom preprocessing that matches the expected resolution (224x224) for ResNet50.
|
| 38 |
custom_transform = transforms.Compose([
|
|
|
|
| 32 |
model.eval()
|
| 33 |
|
| 34 |
# Print the model architecture for inspection.
|
| 35 |
+
# print(model)
|
| 36 |
|
| 37 |
# Define custom preprocessing that matches the expected resolution (224x224) for ResNet50.
|
| 38 |
custom_transform = transforms.Compose([
|