Sakil commited on
Commit
f95b6af
·
1 Parent(s): cce8974

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from transformers import pipeline
3
+ def get_summarize(input_text):
4
+ return summarizer(input_text)
5
+ iface=gr.Interface(fn=get_summarize,inputs="text",outputs=['text'],title='Sakil Text Summarization APP')
6
+ iface.launch(inline=False)