sayakpaul HF Staff commited on
Commit
c62ae57
·
1 Parent(s): 5497f8f
Files changed (1) hide show
  1. convert_diffusion_to_gguf.py +1 -9
convert_diffusion_to_gguf.py CHANGED
@@ -349,12 +349,4 @@ def convert(args):
349
  )
350
  if merged_state_dict is not None:
351
  os.remove(filepath)
352
- logging.info(f"Removed the intermediate {filepath}.")
353
-
354
- def main() -> None:
355
- args = parse_args()
356
- convert(args)
357
-
358
-
359
- if __name__ == "__main__":
360
- main()
 
349
  )
350
  if merged_state_dict is not None:
351
  os.remove(filepath)
352
+ logging.info(f"Removed the intermediate {filepath}.")