Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import clip
|
|
| 3 |
import torch
|
| 4 |
from torchvision.datasets import CIFAR100
|
| 5 |
from PIL import Image
|
|
|
|
| 6 |
|
| 7 |
# Load the model
|
| 8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
|
| 3 |
import torch
|
| 4 |
from torchvision.datasets import CIFAR100
|
| 5 |
from PIL import Image
|
| 6 |
+
import gradio as gr
|
| 7 |
|
| 8 |
# Load the model
|
| 9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|