nichal commited on
Commit
e4993df
1 Parent(s): 1c012c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ title = "Conversational Question Rewriting"
5
  examples = [["What was the first instrument Jimi Hendrix learned to play?"], ["In 1957, while helping his father with a side-job Jimi Hendrix found a ukulele amongst the garbage they were removing from an older woman's home."], ["Did Jimi Hendrix teach himself to play the ukulele?"], ["She told him that he could keep the ukulele, which had only one string. Learning by ear, Jimi Hendrix played single notes, following along to Elvis Presley songs."], ["What was the next instrument he learned to play?"]]
6
 
7
  examples.reverse()
8
- flat_input = [item for sublist in examples for item in sublist]
9
 
10
  examples = [' '.join(flat_list)]
11
 
 
5
  examples = [["What was the first instrument Jimi Hendrix learned to play?"], ["In 1957, while helping his father with a side-job Jimi Hendrix found a ukulele amongst the garbage they were removing from an older woman's home."], ["Did Jimi Hendrix teach himself to play the ukulele?"], ["She told him that he could keep the ukulele, which had only one string. Learning by ear, Jimi Hendrix played single notes, following along to Elvis Presley songs."], ["What was the next instrument he learned to play?"]]
6
 
7
  examples.reverse()
8
+ flat_list = [item for sublist in examples for item in sublist]
9
 
10
  examples = [' '.join(flat_list)]
11