ilhamap commited on
Commit
ac24d07
·
verified ·
1 Parent(s): 1001224

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -12,7 +12,7 @@ api_genai = os.environ.get("gemini_api")
12
  api_tele = os.environ.get("tele_api")
13
  genai.configure(api_key=f'{api_genai}')
14
  model = genai.GenerativeModel('gemini-pro-vision')
15
- bot = Bot(f"api_tele")
16
  a=[]
17
 
18
 
@@ -79,7 +79,7 @@ def image_handler(update, context):
79
 
80
  def main():
81
  print("Started")
82
- TOKEN = f"api_tele"
83
  updater = Updater(TOKEN, use_context = True)
84
  dp = updater.dispatcher
85
  dp.add_handler(CommandHandler("start", start_command))
 
12
  api_tele = os.environ.get("tele_api")
13
  genai.configure(api_key=f'{api_genai}')
14
  model = genai.GenerativeModel('gemini-pro-vision')
15
+ bot = Bot(f"{api_tele}")
16
  a=[]
17
 
18
 
 
79
 
80
  def main():
81
  print("Started")
82
+ TOKEN = f"{api_tele}"
83
  updater = Updater(TOKEN, use_context = True)
84
  dp = updater.dispatcher
85
  dp.add_handler(CommandHandler("start", start_command))