MatteoScript commited on
Commit
efc9aab
·
verified ·
1 Parent(s): b5d7c98

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -119,7 +119,8 @@ async def call_telegram_api(input_data, text):
119
  "telegramUrl": input_data.telegramUrlBot
120
  }
121
  async with aiohttp.ClientSession() as session:
122
- async with session.post(input_data.telegramUrlPost, json=payload) as response
 
123
 
124
  def generate_input_text(input_data):
125
  if input_data.instruction.startswith("http"):
 
119
  "telegramUrl": input_data.telegramUrlBot
120
  }
121
  async with aiohttp.ClientSession() as session:
122
+ async with session.post(input_data.telegramUrlPost, json=payload) as response:
123
+ response_text = await response.text()
124
 
125
  def generate_input_text(input_data):
126
  if input_data.instruction.startswith("http"):