import gradio as gr import spaces import transformers_gradio demo = gr.load(name="allenai/OLMo-2-1124-13B-Instruct", src=transformers_gradio.registry) demo.fn = spaces.GPU()(demo.fn) if __name__ == "__main__": demo.launch()