File size: 293 Bytes
26120be
204cd46
26120be
30f172e
204cd46
 
1
2
3
4
5
6
import gradio as gr
from transformers import pipeline

pipe=pipeline(task="text-generation", model="huggingface/bigscience/bloom-560m")

gr.Interface.from_pipeline(pipe, title="Text Generator Five w/ Variables", description="Input your text, submit and the machine will output text.").launch()