randydev commited on
Commit
63ec517
·
verified ·
1 Parent(s): da1f2d7

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -5,7 +5,7 @@ import uvloop
5
  import aiofiles
6
  import aiohttp
7
  from bs4 import BeautifulSoup
8
- from akenoai import AkenoXToJs
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 = AkenoXToJs()
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