allen-test / app.py
akhaliq's picture
akhaliq HF staff
Update app.py
0695bc9 verified
raw
history blame contribute delete
243 Bytes
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()