handlers.py: PHOTO_AI_PROCESSING_TEXT из utils/texts.py
This commit is contained in:
@@ -22,6 +22,7 @@ from utils.texts import (
|
|||||||
photo_error_handling,
|
photo_error_handling,
|
||||||
PHOTO_PROCESSING_FACE_TEXT,
|
PHOTO_PROCESSING_FACE_TEXT,
|
||||||
PHOTO_UPLOADING_API_TEXT,
|
PHOTO_UPLOADING_API_TEXT,
|
||||||
|
PHOTO_AI_PROCESSING_TEXT,
|
||||||
photo_success_published,
|
photo_success_published,
|
||||||
photo_success_pending,
|
photo_success_pending,
|
||||||
photo_error_rejected,
|
photo_error_rejected,
|
||||||
@@ -156,6 +157,7 @@ async def photo_module_handler(msg: Message):
|
|||||||
original_path = photo_data['path']
|
original_path = photo_data['path']
|
||||||
|
|
||||||
await msg.answer(PHOTO_UPLOADING_API_TEXT, parse_mode="html")
|
await msg.answer(PHOTO_UPLOADING_API_TEXT, parse_mode="html")
|
||||||
|
await msg.answer(PHOTO_AI_PROCESSING_TEXT, parse_mode="html")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Отправляем фото через API
|
# Отправляем фото через API
|
||||||
|
|||||||
Reference in New Issue
Block a user