Spaces:
Runtime error
Runtime error
fixed issue with model drive links
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import urllib.request
|
|
13 |
import gradio as gr
|
14 |
import markdown
|
15 |
|
16 |
-
|
17 |
url = 'https://drive.google.com/uc?id=1m9C-WMfKRDCmScxTh8JmcoFtymxAqjS3'
|
18 |
path_class_names = "./class_names_restnet_leeds_butterfly.pkl"
|
19 |
gdown.download(url, path_class_names, quiet=False)
|
|
|
13 |
import gradio as gr
|
14 |
import markdown
|
15 |
|
16 |
+
# load model state and class names from drive
|
17 |
url = 'https://drive.google.com/uc?id=1m9C-WMfKRDCmScxTh8JmcoFtymxAqjS3'
|
18 |
path_class_names = "./class_names_restnet_leeds_butterfly.pkl"
|
19 |
gdown.download(url, path_class_names, quiet=False)
|