Ahsen Khaliq commited on
Commit
b19937b
1 Parent(s): 61d5e68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -8,12 +8,11 @@ model = st_model.summarizer()
8
 
9
  def inference(text):
10
  documents = [text]
11
- model.summarize(documents)
12
  return model.summarize(documents)[0]
13
 
14
  title = "SummerTime"
15
  description = "Gradio demo for SummerTime: An open-source text summarization toolkit for non-experts. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
16
- article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.12738'>SummerTime: Text Summarization Toolkit for Non-experts</a> | <a href='https://github.com/Yale-LILY/SummerTime'>Github Repo</a></p>"
17
 
18
  gr.Interface(
19
  inference,
 
8
 
9
  def inference(text):
10
  documents = [text]
 
11
  return model.summarize(documents)[0]
12
 
13
  title = "SummerTime"
14
  description = "Gradio demo for SummerTime: An open-source text summarization toolkit for non-experts. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
15
+ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.12738' target='_blank'>SummerTime: Text Summarization Toolkit for Non-experts</a> | <a href='https://github.com/Yale-LILY/SummerTime' target='_blank'>Github Repo</a></p>"
16
 
17
  gr.Interface(
18
  inference,