anegi commited on
Commit
6ee2e12
·
1 Parent(s): 393e0c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -6,11 +6,13 @@ interface = gr.Interface.load(
6
  "huggingface/anegi/t5smallmodel",
7
  title = 'Dialogue Summarization',
8
  inputs = [
9
- gr.inputs.Textbox(lines = 7, label = 'Text', placeholder = 'Enter your dialogue text here... ')
10
  ],
11
  outputs = [
12
  gr.outputs.Textbox(type = 'auto',label = 'Summary Generated')
13
  ],
14
- description = description
 
 
15
  )
16
  interface.launch()
 
6
  "huggingface/anegi/t5smallmodel",
7
  title = 'Dialogue Summarization',
8
  inputs = [
9
+ gr.inputs.Textbox(lines = 7, label = 'Add Text', placeholder = 'Enter your dialogue text here... ')
10
  ],
11
  outputs = [
12
  gr.outputs.Textbox(type = 'auto',label = 'Summary Generated')
13
  ],
14
+ description = description,
15
+ examples = [['A: It is a great weather today.'],
16
+ ['B: Yes, it is sunny and bright.']]
17
  )
18
  interface.launch()