Spaces:
Sleeping
Sleeping
dubuging
Browse files
app.py
CHANGED
|
@@ -72,7 +72,8 @@ async def telegram_webhook(request: Request):
|
|
| 72 |
if user_text:
|
| 73 |
# Get the intelligent response
|
| 74 |
ai_answer = await get_ai_response(user_text)
|
| 75 |
-
|
|
|
|
| 76 |
# Send back to Telegram
|
| 77 |
async with httpx.AsyncClient() as client:
|
| 78 |
await client.post(TELEGRAM_URL, json={
|
|
|
|
| 72 |
if user_text:
|
| 73 |
# Get the intelligent response
|
| 74 |
ai_answer = await get_ai_response(user_text)
|
| 75 |
+
print("1----------TELEGRAM_TOKEN:", TELEGRAM_TOKEN)
|
| 76 |
+
print("2---------TELEGRAM_URL:", TELEGRAM_URL)
|
| 77 |
# Send back to Telegram
|
| 78 |
async with httpx.AsyncClient() as client:
|
| 79 |
await client.post(TELEGRAM_URL, json={
|