Spaces:
Build error
Build error
Download utils/api.py from Garimind/GariMind-Frontend: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/spaces/Garimind/GariMind-Frontend/resolve/main/utils/api.py
- Command line
-
hf download hf://spaces/Garimind/GariMind-Frontend/utils/api.py
-
curl -L -o api.py https://huggingface.co/spaces/Garimind/GariMind-Frontend/resolve/main/utils/api.py
216 Bytes
| import requests | |
| BACKEND_URL = "https://garimindsuite.onrender.com" | |
| def get_estado_backend(): | |
| try: | |
| r = requests.get(f"{BACKEND_URL}/") | |
| return r.text | |
| except: | |
| return "❌ No disponible" |