nikhedward commited on
Commit
4bf2d29
1 Parent(s): 94cf69b
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -9,7 +9,9 @@ text_1 = "The tower is 324 metres (1,063 ft) tall, about the same height as an 8
9
 
10
  sample_texts = [[text_ ], [text_1 ]]
11
 
12
- desc = "This app summarizes and text using fine-tuned bart-large-cnn model. \nNote: Shorter articles generate faster summaries.\n Sample Text input is provided!"
 
 
13
 
14
 
15
 
@@ -18,6 +20,6 @@ interface = gr.Interface.load("huggingface/nikhedward/bart-large-cnn-finetuned-m
18
  description = desc,
19
  theme = "peach",
20
  examples = sample_texts,
21
- inputs = gr.inputs.Textbox(lines = 10, label="Text"))
22
 
23
  interface.launch()
 
9
 
10
  sample_texts = [[text_ ], [text_1 ]]
11
 
12
+ desc = '''
13
+ This app summarizes and text using fine-tuned bart-large-cnn model. \nNote: Shorter articles generate faster summaries.\n Sample Text input is provided!
14
+ '''
15
 
16
 
17
 
 
20
  description = desc,
21
  theme = "peach",
22
  examples = sample_texts,
23
+ inputs = gr.inputs.Textbox(lines = 10, label="Input Text"))
24
 
25
  interface.launch()