jchen8000 commited on
Commit
4a0cee4
·
1 Parent(s): 6989600

update server.py

Browse files
Files changed (1) hide show
  1. download-model.py +1 -3
download-model.py CHANGED
@@ -179,6 +179,7 @@ class ModelDownloader:
179
  return output_folder
180
 
181
  def get_single_file(self, url, output_folder, start_from_scratch=False):
 
182
  filename = Path(url.rsplit('/', 1)[1])
183
  output_path = output_folder / filename
184
 
@@ -265,9 +266,6 @@ class ModelDownloader:
265
  else:
266
  print(f"Downloading the model to {output_folder}")
267
 
268
- print("Download links" + links)
269
- print("Download output_folder" + output_folder)
270
-
271
  self.start_download_threads(links, output_folder, start_from_scratch=start_from_scratch, threads=threads)
272
 
273
  def check_model_files(self, model, branch, links, sha256, output_folder):
 
179
  return output_folder
180
 
181
  def get_single_file(self, url, output_folder, start_from_scratch=False):
182
+ print("Download from " + url)
183
  filename = Path(url.rsplit('/', 1)[1])
184
  output_path = output_folder / filename
185
 
 
266
  else:
267
  print(f"Downloading the model to {output_folder}")
268
 
 
 
 
269
  self.start_download_threads(links, output_folder, start_from_scratch=start_from_scratch, threads=threads)
270
 
271
  def check_model_files(self, model, branch, links, sha256, output_folder):