Wootang01's picture
Update app.py
a6aeb8a
raw
history blame contribute delete
191 Bytes
#level 2.5 text generator
import gradio as gr
from transformers import pipeline
pipe = pipeline("text-generation", model='bigscience/bloom-560m')
gr.Interface.from_pipeline(pipe).launch()