File size: 193 Bytes
fb69dc8
e3e6688
fb69dc8
 
e3e6688
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr
from predict import summarize


def summarize_text(text):
    return summarize(text)


iface = gr.Interface(fn=summarize_text, inputs="text", outputs="text")
iface.launch()