+ fixes
This commit is contained in:
@@ -273,7 +273,7 @@ async def gen_mode_start(
|
|||||||
|
|
||||||
data = await state.get_data()
|
data = await state.get_data()
|
||||||
try:
|
try:
|
||||||
if GenType(data['type']) is GenType.IMAGE:
|
if GenType[data['type']] is GenType.IMAGE:
|
||||||
generated_files = await generate_image(
|
generated_files = await generate_image(
|
||||||
prompt=prompt,
|
prompt=prompt,
|
||||||
media=media_ids, # Передаем список (пустой или с 1 фото)
|
media=media_ids, # Передаем список (пустой или с 1 фото)
|
||||||
|
|||||||
Reference in New Issue
Block a user