Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|