meta-llama / app.py
richardkimsm89's picture
Create app.py
dfddde4 verified
raw
history blame
212 Bytes
from transformers import pipeline
import gradio as gr
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe = pipeline("text-generation", model="meta-llama/Llama-3.2-1B-Instruct")
pipe(messages)