Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from huggingface_hub import snapshot_download
|
|
13 |
tiny_model_dir = snapshot_download('wanderkid/unimernet_tiny', local_dir='./models/unimernet_tiny')
|
14 |
small_model_dir = snapshot_download('wanderkid/unimernet_small', local_dir='./models/unimernet_small')
|
15 |
base_model_dir = snapshot_download('wanderkid/unimernet_base', local_dir='./models/unimernet_base')
|
16 |
-
|
17 |
# os.system(f"sed -i 's/MODEL_DIR/{tiny_model_dir}/g' cfg_tiny.yaml")
|
18 |
# os.system(f"sed -i 's/MODEL_DIR/{small_model_dir}/g' cfg_small.yaml")
|
19 |
# os.system(f"sed -i 's/MODEL_DIR/{base_model_dir}/g' cfg_base.yaml")
|
|
|
13 |
tiny_model_dir = snapshot_download('wanderkid/unimernet_tiny', local_dir='./models/unimernet_tiny')
|
14 |
small_model_dir = snapshot_download('wanderkid/unimernet_small', local_dir='./models/unimernet_small')
|
15 |
base_model_dir = snapshot_download('wanderkid/unimernet_base', local_dir='./models/unimernet_base')
|
16 |
+
os.system("ls -l models/unimernet_tiny")
|
17 |
# os.system(f"sed -i 's/MODEL_DIR/{tiny_model_dir}/g' cfg_tiny.yaml")
|
18 |
# os.system(f"sed -i 's/MODEL_DIR/{small_model_dir}/g' cfg_small.yaml")
|
19 |
# os.system(f"sed -i 's/MODEL_DIR/{base_model_dir}/g' cfg_base.yaml")
|