Use other model in FAL

This commit is contained in:
Moishe Lettvin
2024-03-12 14:47:00 -04:00
parent 7b5b88b99b
commit b84b3d59f3

View File

@@ -32,8 +32,8 @@ class FalImageGenService(ImageGenService):
async def run_image_gen(self, sentence) -> tuple[str, bytes]:
def get_image_url(sentence, size):
handler = fal.apps.submit(
#"110602490-fast-sdxl",
"fal-ai/fast-sdxl",
"110602490-fast-sdxl",
#"fal-ai/fast-sdxl",
arguments={"prompt": sentence},
)
for event in handler.iter_events():