Spaces:
Runtime error
Runtime error
Commit History
14 days ago
-
Fix startup crash: ModuleNotFoundError (dependency-conflict)
Verified signatureHi! This Space currently fails to start on Hugging Face with: ``` ModuleNotFoundError: No module named 'altair' ``` **Cause.** After adding altair, the rebuild still fails because gradio 3.13.0 pulls a too-new httpx/httpcore pair: `TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'`. The transitive dependency versions need to be locked to gradio 3.13's era. **Change.** `README.md`, `requirements.txt`. `requirements.txt` is a lockfile resolved as of 2023-01-15 (Python 3.10), so the app runs on the library versions it was written for. `python_version` is pinned in the README to the interpreter we tested with. Nothing else is touched. **Tested.** We rebuilt the Space with this patch the way Spaces builds it (README front-matter, `requirements.txt`, then the SDK), on 2 vCPU / 16 GB, like cpu-basic. The app started, and calling its `predict` endpoint returned: ``` 1 output file(s) (png), non-empty ``` The diagnosis and patch were written by […7a9d16d
-
Update README.md
5ce077e
-
Update README.md
25dca54 -
Upload web_ex3.jpeg
e9a780a -
update
Johannes2420b7f
-
initial commit
df20c94