Spaces:
Sleeping
Sleeping
Upload space.py
Browse files
space.py
CHANGED
@@ -164,7 +164,7 @@ def ensure_model_in_weights_dir(model_name):
|
|
164 |
|
165 |
# Attempt to download the model file
|
166 |
try:
|
167 |
-
client.download_file('sing', f"
|
168 |
print(f"Model {model_name} downloaded successfully to {model_path}.")
|
169 |
return True
|
170 |
except Exception as e:
|
|
|
164 |
|
165 |
# Attempt to download the model file
|
166 |
try:
|
167 |
+
client.download_file('sing', f"{model_name}", model_path)
|
168 |
print(f"Model {model_name} downloaded successfully to {model_path}.")
|
169 |
return True
|
170 |
except Exception as e:
|