Fetching metadata from the HF Docker repository...
Update app.py
5d2461a verified - .gradio 🚀 Final deploy: app.py with launch guard
- 46 Bytes 🚀 Clean deploy with model.pth via Git LFS
- 675 Bytes 📝 Add README metadata
- 1.79 kB Update app.py
model.pth Detected Pickle imports (16)
- "torch.nn.modules.pooling.MaxPool2d",
- "torchvision.models.resnet.BasicBlock",
- "torch._utils._rebuild_parameter",
- "torchvision.models.resnet.ResNet",
- "torch.FloatStorage",
- "torch._utils._rebuild_tensor_v2",
- "torch.LongStorage",
- "torch.nn.modules.activation.ReLU",
- "torch.nn.modules.container.Sequential",
- "torch.nn.modules.pooling.AdaptiveAvgPool2d",
- "torch.nn.modules.dropout.Dropout",
- "collections.OrderedDict",
- "torch.nn.modules.linear.Linear",
- "__builtin__.set",
- "torch.nn.modules.conv.Conv2d",
- "torch.nn.modules.batchnorm.BatchNorm2d"
How to fix it?
44.8 MB 🚀 Clean deploy with model.pth via Git LFS - 66 Bytes Update requirements.txt