dpredrag commited on
Commit
1f5e567
1 Parent(s): 1a597df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -322,7 +322,6 @@ def train(progress=gr.Progress(track_tqdm=True), *inputs):
322
  shutil.copy(f"model_index.json", "output_model/model_index.json")
323
 
324
  if(not remove_attribution_after):
325
- swap_sleep_time(hf_token, sleep_time)
326
  print("Archiving model file...")
327
  with tarfile.open("diffusers_model.tar", "w") as tar:
328
  tar.add("output_model", arcname=os.path.basename("output_model"))
 
322
  shutil.copy(f"model_index.json", "output_model/model_index.json")
323
 
324
  if(not remove_attribution_after):
 
325
  print("Archiving model file...")
326
  with tarfile.open("diffusers_model.tar", "w") as tar:
327
  tar.add("output_model", arcname=os.path.basename("output_model"))