Download app_omini.py from CodeByBB/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 230 Bytes
-
https://huggingface.co/spaces/CodeByBB/anycoder/resolve/2e1c19dedccf6bfeeb433d6626b1293533b14d9e/app_omini.py
- Command line
-
hf download hf://spaces/CodeByBB/anycoder@2e1c19dedccf6bfeeb433d6626b1293533b14d9e/app_omini.py
-
curl -L -o app_omini.py https://huggingface.co/spaces/CodeByBB/anycoder/resolve/2e1c19dedccf6bfeeb433d6626b1293533b14d9e/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 | |