File size: 182 Bytes
d9daddd
89a14cf
d9daddd
1d4f62b
d9daddd
1d4f62b
d9daddd
1
2
3
4
5
6
7
import gradio as gr
from transformers import pipeline

pipe = pipeline("conversational", model="meta-llama/Llama-2-7b-chat-hf")

demo = gr.Interface.from_pipeline(pipe)
demo.launch()