multichatbot / app_marco_o1.py
hysts's picture
hysts HF staff
Disable api
2201358
raw
history blame contribute delete
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()