Spaces:
Runtime error
Runtime error
Commit History
4 days ago
-
Fix startup crash: AttributeError (gradio-api-drift)
Verified signatureHi! This Space currently fails to start on Hugging Face with: ``` AttributeError: module 'gradio' has no attribute 'inputs' ``` **Cause.** The Space fails on current libraries for two reasons: app.py uses removed Gradio 3 APIs (`gr.inputs.Image`, `gr.outputs.Textbox`), causing `AttributeError: module 'gradio' has no attribute 'inputs'`, and the rebuilt environment pairs Gradio 4.32.1 with a huggingface_hub version that no longer exports `HfFolder`, causing `ImportError: cannot import name 'HfFolder'`. Pinning the dependency era restores the Gradio 4-compatible huggingface_hub, while updating the two component calls restores the original image/text interface. **Change.** `README.md`, `app.py`, `requirements.txt`. `requirements.txt` is a lockfile resolved as of 2024-06-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 t…c70b05c
-
Update app.py
b072469
-
Update app.py
cddddab
-
Update app.py
947217a
-
Update app.py
e7a2aef -
Update app.py
df55b81
-
Update app.py
8bbfb69 -
Update app.py
48f7644 -
Update app.py
e50d169 -
Update app.py
877b91d -
Update app.py
49fe0a4 -
Update app.py
e42c333 -
Update app.py
60d48cd -
Update app.py
b60e30a -
Update app.py
e37d16c -
Update app.py
cb98ca2 -
Update app.py
e768baf -
Update app.py
ea5afdb -
Update app.py
7517711 -
Update app.py
910eeb1 -
Update app.py
acd5c0b -
Update app.py
05f2aaa -
Update app.py
d52fc21 -
Update app.py
56b9e35 -
Update app.py
fd823f5 -
Update app.py
53313b7 -
Update app.py
0c25281 -
Update app.py
3a01033 -
Update app.py
371b6c0 -
Update app.py
191c3b2 -
Update app.py
d3f1dad -
Update app.py
dd33bd5 -
Update app.py
f0d94cb -
Update app.py
d2c1a68 -
Create app.py
c8081ec