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