File size: 277 Bytes
7681358
4c476ba
7681358
4c476ba
97de850
3e5ffb2
4c476ba
1
2
3
4
5
6
7
8
import gradio as gr
from transformers import pipeline

pipe = pipeline('text-generation', model="EleutherAI/pythia-125m")
description_ = "Kindly input text, submit, and the computer will predict subsequent words for your text input."

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