Spaces:
Runtime error
Runtime error
Download app_omini.py from mariamgvelesiani/anychat: direct link, hf CLI and curl.
- Browser
- Download file 230 Bytes
-
https://huggingface.co/spaces/mariamgvelesiani/anychat/resolve/main/app_omini.py
- Command line
-
hf download hf://spaces/mariamgvelesiani/anychat/app_omini.py
-
curl -L -o app_omini.py https://huggingface.co/spaces/mariamgvelesiani/anychat/resolve/main/app_omini.py
230 Bytes
| import gradio as gr | |
| # Load the Gradio space | |
| demo = gr.load(name="Yuanshi/OminiControl", src="spaces") | |
| # Disable API access for all functions | |
| if hasattr(demo, "fns"): | |
| for fn in demo.fns.values(): | |
| fn.api_name = False | |