nichal commited on
Commit
6bc89df
1 Parent(s): d836290

examples update

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
 
3
  description = "Question Rewriting with the PEGASUS model and using previous conversation turns. To use this app, the input has to correspond to, first, the question to be rewritten, and then the conversation turns in a reverse chronological order (most recent turns appear first)."
4
  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?"], ["Are there any other interesting aspects about this article? The album was nominated for the 2002 Grammy Award for Best Contemporary Folk Album, but lost to Bob Dylan's Love and Theft. Did Time by Gillian Welch stay on the charts long? Time peaked at No. 7 on the Billboard Independent Album chart. Did many people like Time by Gillian Welch? All but one song on the album was recorded in the historic RCA Studio B in Nashville. What else did Gillian Welch appear in? Time (The Revelator) received extensive critical praise. How successful was Gillian Welch's label's first release? Welch has said the album is about American history, rock 'n' roll, and country music. Can you explain Time (The Revelator)?"], ["What were their record sales like? The Cardigans have an assortment of hits. Did The Cardigans have other great hits? The Cardigans' Lovefool was a hit worldwide, particularly in the US and Japan, where the album reached platinum status in three weeks. How was the success of The Cardigans' first popular song?"]]
6
 
7
  #examples.reverse()
8
  #flat_list = [item for sublist in examples for item in sublist]
 
2
 
3
  description = "Question Rewriting with the PEGASUS model and using previous conversation turns. To use this app, the input has to correspond to, first, the question to be rewritten, and then the conversation turns in a reverse chronological order (most recent turns appear first)."
4
  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?"], ["What were their record sales like? The Cardigans have an assortment of hits. Did The Cardigans have other great hits? The Cardigans' Lovefool was a hit worldwide, particularly in the US and Japan, where the album reached platinum status in three weeks. How was the success of The Cardigans' first popular song?"], ["What does it cost? Complete your bachelor's degree (a science or healthcare related major is usually best); Gain experience either working or volunteering in a healthcare setting; Apply to ARC-PA accredited physician assistant programs; Complete a 2-3 year, master's level PA program. What are the educational requirements required to become a physician's assistant? physician assistants are medical providers who are licensed to diagnose and treat illness and disease and to prescribe medication for patients. What is a physician's assistant?"], ["What did the social worker do about this? At Horace Mann Elementary School during the mid-1950s, Jimi Hendrix's habit of carrying a broom with him to emulate a guitar gained the attention of the school's social worker. Is there anything else interesting about the year 1966 for Jimi Hendrix? In mid-November 1966, the Jimi Hendrix Experience performed at the Bag O'Nails nightclub in London, with Eirc Clapton, John Lennon, Paul McCartney, Jeff Beck, and others in attendance. When did Jimi Hendrix first gain fame for his playing? Jimi Hendrix's first gig was with an unnamed band in the Jaffe Room of Seattle's Temple De Hirsch Sinai, but they fired him between sets for showing off. When did Jimi Hendrix first start playing for the public? Did Jimi Hendrix ever play any other instruments besides ukulele and guitar? In mid-1959, Jimi Hendrix's father relented and bought him a white Supro Ozark. When did Jimi Hendrix get his first electric guitar? In 1959, attending a concert by Hank Ballard & the Midnighters in Seattle, Jimi Hendrix met the group's guitarist Billy Davis. Davis showed him some guitar licks. Did Jimi Hendrix ever get any guitar lessons?"]]
6
 
7
  #examples.reverse()
8
  #flat_list = [item for sublist in examples for item in sublist]