unclemusclez commited on
Commit
cd1246d
·
verified ·
1 Parent(s): 1ba9717

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ def ollamafy_model(login, model_id, ollama_library_username , ollama_q_method, l
97
  )
98
  dl_pattern += pattern
99
 
100
- if not os.path.isfile(fp16) and if download_gguf_link is None:
101
  api.snapshot_download(repo_id=model_id, local_dir=model_name, local_dir_use_symlinks=False, allow_patterns=dl_pattern)
102
  print("Model downloaded successfully!")
103
  print(f"Current working directory: {os.getcwd()}")
 
97
  )
98
  dl_pattern += pattern
99
 
100
+ if not os.path.isfile(fp16) and download_gguf_link is None:
101
  api.snapshot_download(repo_id=model_id, local_dir=model_name, local_dir_use_symlinks=False, allow_patterns=dl_pattern)
102
  print("Model downloaded successfully!")
103
  print(f"Current working directory: {os.getcwd()}")