anegi commited on
Commit
933910a
·
1 Parent(s): 85b8790

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -2,11 +2,15 @@ import gradio as gr
2
  from gradio import inputs
3
 
4
  description = "Dialogue Summarization "
5
- interface = gr.Interface.load("huggingface/anegi/t5smallmodel",
 
6
  title = 'Dialogue Summarization',
7
  inputs = [
8
  gr.inputs.Textbox(lines = 7, label = 'Text', placeholder = 'Enter your dialogue text here... ')
9
  ],
 
 
 
10
  description = description
11
  )
12
  interface.launch()
 
2
  from gradio import inputs
3
 
4
  description = "Dialogue Summarization "
5
+ 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()