Spaces:
Running on Zero
Running on Zero
Commit History
-
feat: add svc inference code and webui
2566adf
-
Update webui.py
Verified signaturea4b297a -
Update webui.py
Verified signature195665b -
Update webui.py
Verified signaturec63e2ac -
Update webui.py
Verified signature66acc7e -
Update webui.py
Verified signatureb72b23c
-
Update webui.py
Verified signature1c6422c -
Update webui.py
Verified signatureca8a00e -
Update webui.py
Verified signaturedcde3bd -
Update webui.py
Verified signature6e05a61 -
Update webui.py
Verified signature1e61d28 -
Make _get_device() ZeroGPU-aware so models target CUDA
On ZeroGPU Spaces torch.cuda.is_available() returns False at module-load time because the GPU is only attached inside @spaces.GPU. Check spaces.config.Config.zero_gpu as a fallback so all models are placed on CUDA and work correctly once the GPU is attached. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>d3bb466 -
Fix ZeroGPU nested @spaces.GPU causing CUDA failure 35
Remove @spaces.GPU from internal AppState methods (run_preprocess, run_svs, run_svs_from_paths) since they are already called from Gradio-facing functions that hold the GPU context. Also enable share=True in app.py launch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>930ae2b -
Update webui.py
Verified signaturebde23dc -
Fix model download reliability and silent import failures
Extract ensure_pretrained_models() into ensure_models.py and call it from webui.py before AppState init, so models are downloaded regardless of entry point. Narrow except clauses in preprocess/tools/__init__.py from Exception to ImportError so real errors propagate instead of silently setting classes to None. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>19b877f -
Upload webui.py with huggingface_hub
Verified signature02e5782 -
Upload folder using huggingface_hub
Verified signaturec7f3ffb