examples: update with new FalImageGenService parameters

This commit is contained in:
Aleix Conchillo Flaqué
2024-04-10 09:45:08 -07:00
parent bfe2e0f36e
commit e22babbae2
6 changed files with 18 additions and 6 deletions

View File

@@ -85,7 +85,9 @@ async def main(room_url):
model="gpt-4-turbo-preview")
imagegen = FalImageGenService(
image_size="square_hd",
params=FalImageGenService.InputParams(
image_size="square_hd"
),
aiohttp_session=session,
key_id=os.getenv("FAL_KEY_ID"),
key_secret=os.getenv("FAL_KEY_SECRET"),