Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import matplotlib.pyplot as plt
|
|
| 6 |
|
| 7 |
# Check if CUDA is available
|
| 8 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 9 |
-
model_path = "
|
| 10 |
model_name = "ViT-B-32"
|
| 11 |
|
| 12 |
# Load model and tokenizer
|
|
|
|
| 6 |
|
| 7 |
# Check if CUDA is available
|
| 8 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 9 |
+
model_path = "ViT-B-32.pt"
|
| 10 |
model_name = "ViT-B-32"
|
| 11 |
|
| 12 |
# Load model and tokenizer
|