anegi commited on
Commit
e6dc6a1
1 Parent(s): 58c0d2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -9,7 +9,19 @@ B: I'm good. How's your course going on these days?
9
  A: It's going well. Pretty tiring but overall fun.
10
  B: That's great to hear. If you are free wanna grab a cup of coffee?
11
  A: Sure!!!! I recently discovered a new cafe near my home.
12
- B: Awesome. Let's go.''']]
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
  model1 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",
15
  title = 'BART-Large-cnn-samsum',
@@ -24,6 +36,7 @@ model2 = gr.Interface.load("huggingface/anegi/t5smallmodel",
24
 
25
  Parallel(model1, model2 ,
26
  title = title,
 
27
  inputs = gr.inputs.Textbox(lines = 7, label = 'Input Text', placeholder = 'Please enter your dialogue text here'),
28
  examples = example,
29
  theme = 'dark-peach' ).launch()
 
9
  A: It's going well. Pretty tiring but overall fun.
10
  B: That's great to hear. If you are free wanna grab a cup of coffee?
11
  A: Sure!!!! I recently discovered a new cafe near my home.
12
+ B: Awesome. Let's go.'''],
13
+ ['''Rohit: Hi, how’re you?
14
+ Mahesh: I’m fine. What about you?
15
+ Rohit: Good. How’s your work going on?
16
+ Mahesh: Not great.
17
+ Rohit: Why? What happened?
18
+ Mahesh: I can’t cope with my manager. He was fine, to begin with, but not anymore. But that’s not the only reason.
19
+ Rohit: Then?
20
+ Mahesh: Also, the commute time to the office is just too much at the moment, and I don’t foresee a shift to a closer location in this organization. Too much time on the road is taking a toll on me.
21
+ Rohit: Got it. So have you been applying elsewhere?
22
+ Mahesh: I am, but the route of sending resumes and cover letters have so far not yielded much. It seems as if they’re disappearing into a black hole, with little to no response coming. Do you know persons in the industry who can help me land interviews?
23
+ Rohit: Sending resumes cold doesn’t work well. Offhand, I don’t recall a contact in your industry, but lemme try through people I know. I’ll let you know.
24
+ Mahesh: Thanks.''']]
25
 
26
  model1 = gr.Interface.load("huggingface/philschmid/bart-large-cnn-samsum",
27
  title = 'BART-Large-cnn-samsum',
 
36
 
37
  Parallel(model1, model2 ,
38
  title = title,
39
+ description = description,
40
  inputs = gr.inputs.Textbox(lines = 7, label = 'Input Text', placeholder = 'Please enter your dialogue text here'),
41
  examples = example,
42
  theme = 'dark-peach' ).launch()