Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ login(token=HF_HUB_TOKEN)
|
|
| 24 |
|
| 25 |
|
| 26 |
try:
|
| 27 |
-
response = httpx.get(f"https://api.telegram.org/bot{
|
| 28 |
print(f"Using TELEGRAM_TOKEN: {TOKEN[:5]}***") # Part of the token
|
| 29 |
print(response.json())
|
| 30 |
except httpx.RequestError as e:
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
try:
|
| 27 |
+
response = httpx.get(f"https://api.telegram.org/bot{TOKEN}/getMe")
|
| 28 |
print(f"Using TELEGRAM_TOKEN: {TOKEN[:5]}***") # Part of the token
|
| 29 |
print(response.json())
|
| 30 |
except httpx.RequestError as e:
|