Spaces:
Runtime error
Runtime error
adiren7 commited on
Commit Β·
da25977
1
Parent(s): 40b6d6e
2nd commit
Browse filesFiles changed (3)
9 unmodified lines101112131415169 unmodified linesvit , vit_transforms = create_vit_model()vit.load_state_dict(torch.laod(f="09_pretrained_vit_feature_extractor_pizza_steak_sushi_20_percent.pth",map_location=torch.device("cpu")))def predict(img):9 unmodified lines101112131415169 unmodified linesvit , vit_transforms = create_vit_model()vit.load_state_dict(torch.load(f="09_pretrained_vit_feature_extractor_pizza_steak_sushi_20_percent.pth",map_location=torch.device("cpu")))def predict(img):
123torch==1.12.0torchvision==0.13.0gradio==3.1.41234torch==1.12.0torchvision==0.13.0gradio==3.1.4httpx==0.24.1
__pycache__/model.cpython-39.pycAdded
app.py+1-1
requirements.txt+1