Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
DeMaking
/
decision-helper-bot
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
9803b4b
decision-helper-bot
/
test_connection.py
DeMaking
Create test_connection.py
f13638c
verified
25 days ago
raw
Copy download link
history
blame
Safe
176 Bytes
import
requests
try
:
response = requests.get(
"https://api.telegram.org"
)
print
(
f"Status Code:
{response.status_code}
"
)
except
Exception
as
e:
print
(
f"Error:
{e}
"
)