From 67145b9657e4ae66549368a4206111ff11d5b46c Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Mon, 6 Feb 2023 23:10:13 +1000 Subject: [PATCH] change davinci position on handlers time is not working --- handlers/__init__.py | 3 ++- handlers/davinci.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/handlers/__init__.py b/handlers/__init__.py index b4295c4..b4d137b 100644 --- a/handlers/__init__.py +++ b/handlers/__init__.py @@ -1,6 +1,7 @@ from handlers import pipisa +from handlers import davinci from handlers import time_new_year from handlers import sendalarm from handlers import start_help -from handlers import davinci + diff --git a/handlers/davinci.py b/handlers/davinci.py index 069abbb..284f4bd 100644 --- a/handlers/davinci.py +++ b/handlers/davinci.py @@ -18,7 +18,7 @@ async def send(message: types.Message): frequency_penalty=0.0, presence_penalty=0.6, stop=["сброс"] - ) + ) await message.reply(response['choices'][0]['text'])