import gradio as gr from transformers import pipeline pipe = pipeline(model="meta-llama/Llama-2-13b-chat-hf") demo = gr.Interface.from_pipeline(pipe) demo.launch()