Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| from transformers import pipeline | |
| sum = pipeline("summarization", model="facebook/bart-large-cnn") | |
| def things(text): | |
| return sum(text) | |
| testing = gr.Interface(fn=things, inputs="text", outputs="text") | |
| testing.launch() | |
| #created by Sebastian Behar |