sunwaee commited on
Commit
035894f
1 Parent(s): a618141

removed new method

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -23,8 +23,7 @@ def download_models(ids):
23
  # Download model from drive if not stored locally
24
  for key in ids:
25
  if not os.path.isfile(f"model/{key}.ckpt"):
26
- # url = f"https://drive.google.com/uc?id={ids[key]}"
27
- url = f"https://drive.google.com/u/0/uc?export=download&confirm=eyGg&id={ids[key]}"
28
  gdown.download(url=url, output=f"model/{key}.ckpt")
29
 
30
 
 
23
  # Download model from drive if not stored locally
24
  for key in ids:
25
  if not os.path.isfile(f"model/{key}.ckpt"):
26
+ url = f"https://drive.google.com/uc?id={ids[key]}"
 
27
  gdown.download(url=url, output=f"model/{key}.ckpt")
28
 
29