Spaces:
Sleeping
Sleeping
Erva Ulusoy
commited on
Commit
·
0711e04
1
Parent(s):
c520c43
fix data load bug
Browse files- run_prothgt_app.py +2 -0
run_prothgt_app.py
CHANGED
@@ -141,6 +141,8 @@ def generate_prediction_df(protein_ids, model_paths, model_config_paths, go_cate
|
|
141 |
try:
|
142 |
url = f"https://drive.google.com/uc?id={file_id}"
|
143 |
print(f"Downloading file from {url}...")
|
|
|
|
|
144 |
except Exception as e:
|
145 |
print(f"Error downloading file: {e}")
|
146 |
raise
|
|
|
141 |
try:
|
142 |
url = f"https://drive.google.com/uc?id={file_id}"
|
143 |
print(f"Downloading file from {url}...")
|
144 |
+
gdown.download(url, output, quiet=False)
|
145 |
+
print(f"File downloaded to {output}")
|
146 |
except Exception as e:
|
147 |
print(f"Error downloading file: {e}")
|
148 |
raise
|