Spaces:
Runtime error
Runtime error
Download tests/test_human_idea_refinement.py from subashdvorak/trygithubactions: direct link, hf CLI and curl.
- Browser
- Download file 393 Bytes
-
https://huggingface.co/spaces/subashdvorak/trygithubactions/resolve/main/tests/test_human_idea_refinement.py
- Command line
-
hf download hf://spaces/subashdvorak/trygithubactions/tests/test_human_idea_refinement.py
-
curl -L -o test_human_idea_refinement.py https://huggingface.co/spaces/subashdvorak/trygithubactions/resolve/main/tests/test_human_idea_refinement.py
393 Bytes
| # from fastapi.testclient import TestClient | |
| # from api.main import app | |
| # client = TestClient(app) | |
| # def test_human_refining_ideation(): | |
| # payload = { | |
| # "query": "Combine ideas 1 and 2", | |
| # "thread_id":"refine_ideas_thread" | |
| # } | |
| # response = client.post("/api/human-idea-refining", json=payload) | |
| # print(response.json()) | |
| # assert response.status_code == 200 |