Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -119,8 +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"):
|
126 |
try:
|
|
|
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"):
|
126 |
try:
|