Spaces:
Running
Running
Download app_marco_o1.py from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 268 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/7df9d290f35167f4038752936e7cdd526f113b2c/app_marco_o1.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@7df9d290f35167f4038752936e7cdd526f113b2c/app_marco_o1.py
-
curl -L -o app_marco_o1.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/7df9d290f35167f4038752936e7cdd526f113b2c/app_marco_o1.py
268 Bytes
| import gradio as gr | |
| import spaces | |
| import transformers_gradio | |
| demo = gr.load(name="AIDC-AI/Marco-o1", src=transformers_gradio.registry) | |
| demo.fn = spaces.GPU()(demo.fn) | |
| for fn in demo.fns.values(): | |
| fn.api_name = False | |
| if __name__ == "__main__": | |
| demo.launch() | |