File size: 166 Bytes
b2af5e4
0e17d27
b2af5e4
15e84db
0e17d27
 
1
2
3
4
5
6
7
import gradio as gr
from transformers import pipeline

pipe = pipeline("text-generation", model='EleutherAI/gpt-neo-2.7B')

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