ttheland commited on
Commit
1433cfa
1 Parent(s): 6928524

replaced gdown links for model and classnames

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -13,11 +13,12 @@ import urllib.request
13
  import gradio as gr
14
  import markdown
15
 
16
- url = 'https://drive.google.com/file/d/1qKiyp4r8SqUtz2ZWk3E6oZhyhl6t8lyG/view?usp=sharing'
 
17
  path_class_names = "./class_names_restnet_leeds_butterfly.pkl"
18
  gdown.download(url, path_class_names, quiet=False)
19
 
20
- url = 'https://drive.google.com/file/d/1Ep2YWU4M-yVkF7AFP3aD1sVhuriIDzFe/view?usp=sharing'
21
  path_model = "./model_state_restnet_leeds_butterfly.pth"
22
  gdown.download(url, path_model, quiet=False)
23
 
 
13
  import gradio as gr
14
  import markdown
15
 
16
+
17
+ url = 'https://drive.google.com/uc?id=1qKiyp4r8SqUtz2ZWk3E6oZhyhl6t8lyG'
18
  path_class_names = "./class_names_restnet_leeds_butterfly.pkl"
19
  gdown.download(url, path_class_names, quiet=False)
20
 
21
+ url = 'https://drive.google.com/uc?id=1Ep2YWU4M-yVkF7AFP3aD1sVhuriIDzFe'
22
  path_model = "./model_state_restnet_leeds_butterfly.pth"
23
  gdown.download(url, path_model, quiet=False)
24