Spaces:
Running
Running
Download app_marco_o1.py from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 213 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/12afc5deaf6c84215c56b252a9e49e1be412c85d/app_marco_o1.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@12afc5deaf6c84215c56b252a9e49e1be412c85d/app_marco_o1.py
-
curl -L -o app_marco_o1.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/12afc5deaf6c84215c56b252a9e49e1be412c85d/app_marco_o1.py
213 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) | |
| if __name__ == "__main__": | |
| demo.launch() |