Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"))
|