Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ from torch import nn
|
|
7 |
from torchvision import models
|
8 |
from PIL import Image
|
9 |
from torch.nn import functional as F
|
|
|
10 |
|
11 |
# load idx_to_class.json into dictionary
|
12 |
with open('class_to_idx.json', 'r') as f:
|
|
|
7 |
from torchvision import models
|
8 |
from PIL import Image
|
9 |
from torch.nn import functional as F
|
10 |
+
import gradio as gr
|
11 |
|
12 |
# load idx_to_class.json into dictionary
|
13 |
with open('class_to_idx.json', 'r') as f:
|