Spaces:
Runtime error
Runtime error
File size: 407 Bytes
3ebfa24 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
import os
import getpass
from dotenv import load_dotenv
load_dotenv()
import telegram
import prompts
INTERFACE='TELEGRAM'
MODEL='LLAMA'
REPO_ID='meta-llama/Llama-3.2-1B-Instruct'
#REPO_ID='meta-llama/Llama-3.2-90B-Vision-Instruct'
if INTERFACE=='TELEGRAM':
telegram.init_telegram(model=MODEL,repo_id=REPO_ID)
telegram_bot=telegram.get_telegram_bot()
telegram_bot.infinity_polling()
|