llama-mh / app.py
lucas-w's picture
Update app.py
cf8456d
raw
history blame
233 Bytes
from transformers import pipeline
import gradio as gr
pipe = pipeline("translation", model="huggingface-projects/llama-2-7b-chat", token="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")
demo = gr.Interface.from_pipeline(pipe)
demo.launch()