Spaces:
Runtime error
Runtime error
Download abc.py from Shriyakupp/iitm_scraper: direct link, hf CLI and curl.
- Browser
- Download file 185 Bytes
-
https://huggingface.co/spaces/Shriyakupp/iitm_scraper/resolve/main/abc.py
- Command line
-
hf download hf://spaces/Shriyakupp/iitm_scraper/abc.py
-
curl -L -o abc.py https://huggingface.co/spaces/Shriyakupp/iitm_scraper/resolve/main/abc.py
185 Bytes
| import requests | |
| url = "http://127.0.0.1:8000/api" | |
| data = {"question": "What is AIPIPE?", "api_key": "your-api-key"} | |
| response = requests.post(url, json=data) | |
| print(response.text) |