Skip to content

Commit

Permalink
Update prepare.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thuanz123 authored Jun 27, 2024
1 parent c932274 commit 15509e8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@


def process_prompt_data(index, batch_start, prompt_embed, output_path):
prompt_dict = {
"prompt_embeds": prompt_embed,
}
np.save(output_path / f"{batch_start+index}.npy", **prompt_dict)
np.save(output_path / f"{batch_start+index}.npy", prompt_embed)
return index


Expand Down

0 comments on commit 15509e8

Please sign in to comment.