Spaces:
Runtime error
Runtime error
links
Browse files
app.py
CHANGED
@@ -14,11 +14,14 @@ import gradio as gr
|
|
14 |
import markdown
|
15 |
|
16 |
# load model state and class names from gdrive
|
17 |
-
|
|
|
|
|
18 |
path_class_names = "./class_names_restnet_leeds_butterfly.pkl"
|
19 |
gdown.download(url, path_class_names, quiet=False)
|
20 |
|
21 |
-
|
|
|
22 |
path_model = "./model_state_restnet_leeds_butterfly.pth"
|
23 |
gdown.download(url, path_model, quiet=False)
|
24 |
|
|
|
14 |
import markdown
|
15 |
|
16 |
# load model state and class names from gdrive
|
17 |
+
|
18 |
+
# link: https://drive.google.com/file/d/1m9C-WMfKRDCmScxTh8JmcoFtymxAqjS3/view?usp=sharing
|
19 |
+
url = 'https://drive.google.com/uc?id=1m9C-WMfKRDCmScxTh8JmcoFtymxAqjS3'
|
20 |
path_class_names = "./class_names_restnet_leeds_butterfly.pkl"
|
21 |
gdown.download(url, path_class_names, quiet=False)
|
22 |
|
23 |
+
# link: https://drive.google.com/file/d/1qxaWnYwLIwWGrGg9uehG7h2W227SXGKq/view?usp=sharing
|
24 |
+
url = 'https://drive.google.com/uc?id=1qxaWnYwLIwWGrGg9uehG7h2W227SXGKq'
|
25 |
path_model = "./model_state_restnet_leeds_butterfly.pth"
|
26 |
gdown.download(url, path_model, quiet=False)
|
27 |
|