SivilTaram commited on
Commit
80c71e7
1 Parent(s): c839eb9

update module zip

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ Infer the date from context. Q: Today is the second day of the third month of 1
119
  torch.save(final_lora, f"lora/{random_id}/adapter_model.bin")
120
  # create a zip file
121
  shutil.make_archive(f"lora_{random_id}", 'zip', f"lora/{random_id}")
122
- with open("lora_module.zip", "rb") as fp:
123
  btn = st.download_button(
124
  label="📥 Download the final LoRA Module",
125
  data=fp,
 
119
  torch.save(final_lora, f"lora/{random_id}/adapter_model.bin")
120
  # create a zip file
121
  shutil.make_archive(f"lora_{random_id}", 'zip', f"lora/{random_id}")
122
+ with open(f"lora_{random_id}.zip", "rb") as fp:
123
  btn = st.download_button(
124
  label="📥 Download the final LoRA Module",
125
  data=fp,