multimodalart HF staff commited on
Commit
b33503b
1 Parent(s): 584be3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -181,7 +181,7 @@ def train(*inputs):
181
  if(not remove_attribution_after):
182
  print("Archiving model file...")
183
  with tarfile.open("diffusers_model.tar", "w") as tar:
184
- tar.add("diffusers_model", arcname=os.path.basename("diffusers_model"))
185
  if os.path.exists("intraining.lock"): os.remove("intraining.lock")
186
  trained_file = open("hastrained.success", "w")
187
  trained_file.close()
 
181
  if(not remove_attribution_after):
182
  print("Archiving model file...")
183
  with tarfile.open("diffusers_model.tar", "w") as tar:
184
+ tar.add("output_model", arcname=os.path.basename("output_model"))
185
  if os.path.exists("intraining.lock"): os.remove("intraining.lock")
186
  trained_file = open("hastrained.success", "w")
187
  trained_file.close()