mirror of
https://github.com/storytold/FineTrainers-Conditioning.git
synced 2026-10-18 00:33:52 +00:00
readme updates + refactor (#14)
* refactor * update * update * Update README.md Co-authored-by: Sayak Paul <spsayakpaul@gmail.com> * Update README.md Co-authored-by: Sayak Paul <spsayakpaul@gmail.com> * address review comments part i * fix adapter name causing peft error * prompts -> prompt * update * add video * update --------- Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
This commit is contained in:
@@ -348,7 +348,7 @@ def save_videos(
|
||||
for video_path in video_paths:
|
||||
file.write(f"videos/{video_path.name}\n")
|
||||
|
||||
with open(output_dir.joinpath("prompts.txt").as_posix(), "a", encoding="utf-8") as file:
|
||||
with open(output_dir.joinpath("prompt.txt").as_posix(), "a", encoding="utf-8") as file:
|
||||
for prompt in prompts:
|
||||
file.write(f"{prompt}\n")
|
||||
|
||||
@@ -398,7 +398,7 @@ def save_latents_and_embeddings(
|
||||
for video_path in video_paths:
|
||||
file.write(f"videos/{video_path.name}\n")
|
||||
|
||||
with open(output_dir.joinpath("prompts.txt").as_posix(), "a", encoding="utf-8") as file:
|
||||
with open(output_dir.joinpath("prompt.txt").as_posix(), "a", encoding="utf-8") as file:
|
||||
for prompt in prompts:
|
||||
file.write(f"{prompt}\n")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user