Update src/main.py
Browse files- src/main.py +2 -1
src/main.py
CHANGED
@@ -6,7 +6,7 @@ import aiofiles
|
|
6 |
import aiohttp
|
7 |
from bs4 import BeautifulSoup
|
8 |
from contextlib import asynccontextmanager
|
9 |
-
from akenoai import AkenoXToJs
|
10 |
from akenoai.runner import run_fast
|
11 |
from akenoai.clients import create_pyrogram
|
12 |
from akenoai.clients.enums import ChatMembersFilter
|
@@ -21,6 +21,7 @@ logger = logging.getLogger(__name__)
|
|
21 |
LOGS = logging.getLogger("[akenox]")
|
22 |
logger.setLevel(logging.DEBUG)
|
23 |
|
|
|
24 |
fast_app = js.get_app()
|
25 |
js.add_cors_middleware()
|
26 |
|
|
|
6 |
import aiohttp
|
7 |
from bs4 import BeautifulSoup
|
8 |
from contextlib import asynccontextmanager
|
9 |
+
from akenoai import AkenoXToJs
|
10 |
from akenoai.runner import run_fast
|
11 |
from akenoai.clients import create_pyrogram
|
12 |
from akenoai.clients.enums import ChatMembersFilter
|
|
|
21 |
LOGS = logging.getLogger("[akenox]")
|
22 |
logger.setLevel(logging.DEBUG)
|
23 |
|
24 |
+
js = AkenoXToJs()
|
25 |
fast_app = js.get_app()
|
26 |
js.add_cors_middleware()
|
27 |
|