Spaces:
Running
on
Zero
Running
on
Zero
File size: 243 Bytes
8b60cb4 0695bc9 8b60cb4 4af8340 0695bc9 38370aa 4af8340 |
1 2 3 4 5 6 7 8 9 10 |
import gradio as gr
import spaces
import transformers_gradio
# Load Llama model
demo = gr.load(name="allenai/Llama-3.1-Tulu-3-8B", src=transformers_gradio.registry)
demo.fn = spaces.GPU()(demo.fn)
if __name__ == "__main__":
demo.launch() |