anegi commited on
Commit
516fff1
1 Parent(s): 9072295

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import gradio as gr
2
  from gradio.mix import Parallel
3
 
4
- description = 'Dialogue summarization models'
5
  title = 'Comparing different dialogue summarization models'
 
6
 
7
  example = [[''' A: Hello B. How are you?
8
  B: I'm good. How's your course going on these days?
@@ -35,6 +36,7 @@ Parallel(model1, model2 ,
35
  title = title,
36
  description = description,
37
  inputs = gr.inputs.Textbox(lines = 7, label = 'Input Text', placeholder = 'Please enter your dialogue text here'),
38
- outputs=gr.outputs.Textbox(label='Summary generated'),
 
39
  examples = example,
40
- theme = 'dark-peach' ).launch()
 
1
  import gradio as gr
2
  from gradio.mix import Parallel
3
 
4
+
5
  title = 'Comparing different dialogue summarization models'
6
+ description = 'Here we are going to compare different summarization model namely BART-LARGE model which is trained on samsum data and t5small model which is also trained on the same dataset.'
7
 
8
  example = [[''' A: Hello B. How are you?
9
  B: I'm good. How's your course going on these days?
 
36
  title = title,
37
  description = description,
38
  inputs = gr.inputs.Textbox(lines = 7, label = 'Input Text', placeholder = 'Please enter your dialogue text here'),
39
+ live=True,
40
+ layout='vertically',
41
  examples = example,
42
+ theme = 'peach' ).launch()