Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
examples = [
|
| 4 |
-
["Lee: Hi guys, have you heard of our great professor, Zeanique Barber
|
| 5 |
]
|
| 6 |
|
| 7 |
demo = gr.Interface.load(
|
| 8 |
"huggingface/transformersbook/pegasus-samsum",
|
| 9 |
inputs=gr.inputs.Textbox(label="Input"),
|
| 10 |
outputs=gr.outputs.Textbox(label="Output"),
|
| 11 |
-
title="Text Summarization Demo",
|
| 12 |
examples=examples
|
| 13 |
)
|
| 14 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
examples = [
|
| 4 |
+
["Lee: Hi guys, have you heard of our great professor, Zeanique Barber? \n William: Yes, I was excited that she became our instructor for UMBC's DATA606 Capstone for Data Science in Fall 2022! Lee: Indeed, she has amazing experience in Data Transformation for organizations and I'm excited to learn from her! William: I know, I too have experience in Data Transformation in cloud technology ;) Lee: Cool, maybe we should do a project about cloud data? What do you think? William: Great idea, how hard can it be?! William: I am in! Lee: Awesome, let's do it together!"]
|
| 5 |
]
|
| 6 |
|
| 7 |
demo = gr.Interface.load(
|
| 8 |
"huggingface/transformersbook/pegasus-samsum",
|
| 9 |
inputs=gr.inputs.Textbox(label="Input"),
|
| 10 |
outputs=gr.outputs.Textbox(label="Output"),
|
| 11 |
+
title="UMBCS DATA606 Capstone: Abstract Transcript Text Summarization Demo",
|
| 12 |
examples=examples
|
| 13 |
)
|
| 14 |
|