implement db

This commit is contained in:
2024-12-13 14:17:36 -06:00
parent 2f8f3415fc
commit 837f6a7d0d
7 changed files with 112 additions and 59 deletions

View File

@@ -45,3 +45,8 @@ def icon_gen(prompt: str, quality: Literal["hd", "standard"], output: Path = "./
with open(image_filepath, "wb") as f:
f.write(image_response.content)
print(image_id)
if __name__ == "__main__":
dog_emoji = image_style("dog in a hat on a beach with a drink", style=Styles.cartoon)
icon_gen(dog_emoji, output=Path("../output"), quality="hd")