Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jakiepari authored Dec 24, 2024
1 parent 2077477 commit c1b5e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

TOKEN = os.getenv('BOT_TOKEN') # load the bot token from env

bot = AsyncTeleBot(TOKEN)# Fasttext model load
bot = AsyncTeleBot(TOKEN)
dl = dlt.TranslationModel("nllb200", device="cpu") # you can change it as cpu, cuda, or auto. prefer to cpu

def load_user_settings():
Expand Down

0 comments on commit c1b5e74

Please sign in to comment.