File size: 165 Bytes
b2af5e4
0e17d27
b2af5e4
0ddf388
c72f3c5
0e17d27
1
2
3
4
5
6
7
import gradio as gr
from transformers import pipeline

pipe = pipeline("text-generation", model='EleutherAI/pythia-1.3b')

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