Lwhieldon commited on
Commit
dabc0ae
·
1 Parent(s): 9c638d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,13 +2,13 @@ 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! \n Lee: Indeed, she has amazing experience in Data Transformation for organizations and I'm excited to learn from her! \n William: I know, I too have experience in Data Transformation in cloud technology ;) \n Lee: Cool, maybe we should do a project about cloud data? What do you think? \n William: Great idea, how hard can it be?! \n William: I am in! \n Lee: Awesome, let's do it together! "],
5
- ["Karen: What do I owe the excessive volume of this giggling?\nPlankton: [chuckles] You may thank my new and original idea, darling. Free samples!\nKaren: New and original, my exhaust fan.\nPlankton: Okay, so I didn't invent the concept, but I have improved upon it by removing the only obstacle to chum's success!\nKaren: You mean the smell? Smell.\nPlankton: No. I mean getting the public to try some! Once everyone gets a taste of my delicious chum, they'll tear this place apart to get some. Plus it's free, and who can resist free?!Step right up for your free samples of delicious chum!\nNat: Hey, what did he just say it was?\nPlankton: I just said they're free!\nNat: Oh... I thought he said freaks. In that case... So glad I actually left my house today.\nPlankton: That's the spirit, people. Step on up, but please take your time and be orderly. I wanna savor this whole 'Putting-Krabs-out-of-business' business.\nSally: What is it?\nShubie: Oh, who cares silly-big-milly? It's free!\nSally: Oh, it's going to be so good 'cause it's free!\nPlankton: Eat up. Ugh. I have no idea that chum was this rotten. I better not be here when all this agony turns to anger.\nNat: Hey, he's making a run for it! We can't let him get away with this! Let's get up and... get him. "]
6
  ]
7
 
8
  gr.Interface.load(
9
  "huggingface/transformersbook/pegasus-samsum",
10
  inputs=gr.inputs.Textbox(label="Input"),
11
- outputs=gr.outputs.Textbox(label="Output" ),
12
  title="UMBC Fall 2022 DATA606 Capstone: Abstract Transcript Text Summarization Demo",
13
  examples=examples
14
  ).launch()
 
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! \n Lee: Indeed, she has amazing experience in Data Transformation for organizations and I'm excited to learn from her! \n William: I know, I too have experience in Data Transformation in cloud technology ;) \n Lee: Cool, maybe we should do a project about cloud data? What do you think? \n William: Great idea, how hard can it be?! \n William: I am in! \n Lee: Awesome, let's do it together! "],
5
+ ["Karen: What do I owe the excessive volume of this giggling?\nPlankton: [chuckles] You may thank my new and original idea, darling. Free samples!\nKaren: New and original, my exhaust fan.\nPlankton: Okay, so I didn't invent the concept, but I have improved upon it by removing the only obstacle to chum's success!\nKaren: You mean the smell? Smell.\nPlankton: No. I mean getting the public to try some! Once everyone gets a taste of my delicious chum, they'll tear this place apart to get some. Plus it's free, and who can resist free?!Step right up for your free samples of delicious chum!\nNat: Hey, what did he just say it was?\nPlankton: I just said they're free!\nNat: Oh... I thought he said freaks. In that case... So glad I actually left my house today.\nPlankton: That's the spirit, people. Step on up, but please take your time and be orderly. I wanna savor this whole 'Putting-Krabs-out-of-business' business.\nSally: What is it?\nShubie: Oh, who cares silly-big-milly? It's free!\nSally: Oh, it's going to be so good 'cause it's free!\nPlankton: Eat up. Ugh. I have no idea that chum was this rotten. I better not be here when all this agony turns to anger.\nNat: Hey, he's making a run for it! We can't let him get away with this! Let's get up and... get him."]
6
  ]
7
 
8
  gr.Interface.load(
9
  "huggingface/transformersbook/pegasus-samsum",
10
  inputs=gr.inputs.Textbox(label="Input"),
11
+ outputs=gr.outputs.Textbox(label="Output"),
12
  title="UMBC Fall 2022 DATA606 Capstone: Abstract Transcript Text Summarization Demo",
13
  examples=examples
14
  ).launch()