File size: 191 Bytes
8530275
a6aeb8a
b2af5e4
0e17d27
b2af5e4
a6aeb8a
c72f3c5
0e17d27
1
2
3
4
5
6
7
8
9
#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()