BridgeIT / test.py
kaiozwald's picture
Switched to free model distilgpt2
e58a657
raw
history blame contribute delete
410 Bytes
import requests
response = requests.post(
"https://kaiozwald-BridgeIT.hf.space/generate-report",
json={
"tasks": [
{"task": "Build frontend using React"},
{"task": "Connect backend using FastAPI"},
{"task": "Use transformers to generate report sections"}
]
}
)
print("Status Code:", response.status_code)
print("Response Text:", response.text)