myalexa / app.py
almncarlo's picture
Update app.py
53d405e verified
raw
history blame
344 Bytes
import gradio as gr
from transformers import pipeline
pipe = pipeline(task="text-generation",
model="meta-llama/Meta-Llama-3-8B")
gr.Interface.from_pipeline(pipe,
title="TextGen",
description="Using pipeline with Llama3",
).launch(inbrowser=True)