Spaces:
Runtime error
Runtime error
File size: 268 Bytes
3f9cf44 9f99390 3f9cf44 9f99390 2201358 9f99390 2201358 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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()
|