smjain commited on
Commit
4e7fd67
1 Parent(s): 3e36ef4

Upload space.py

Browse files
Files changed (1) hide show
  1. space.py +1 -1
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"weights/{model_name}", model_path)
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: