Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| examples = [ | |
| ["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!"] | |
| ] | |
| demo = gr.Interface.load( | |
| "huggingface/transformersbook/pegasus-samsum", | |
| inputs=gr.inputs.Textbox(label="Input"), | |
| outputs=gr.outputs.Textbox(label="Output"), | |
| title="UMBC Fall 2022 DATA606 Capstone: Abstract Transcript Text Summarization Demo", | |
| examples=examples | |
| ) | |
| demo.launch() |