File size: 165 Bytes
e638bd1
1c68d40
e638bd1
1c68d40
 
 
 
1
2
3
4
5
6
7
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()