Update app.py
Browse files
app.py
CHANGED
@@ -24,17 +24,25 @@ model, tokenizer = get_model()
|
|
24 |
g = """informal english: garage band has made people who know nothing about music good at creating music.
|
25 |
Translated into the Style of Abraham Lincoln: garage band ( offers the uninitiated in music the ability to produce professional-quality compositions / catapults those for whom music is an uncharted art the ability the realize masterpieces / stimulates music novice's competency to yield sublime arrangements / begets individuals of rudimentary musical talent the proficiency to fashion elaborate suites ).
|
26 |
informal english: chrome extensions can make doing regular tasks much easier to get done.
|
|
|
27 |
***
|
|
|
28 |
Translated into the Style of Abraham Lincoln: chrome extensions ( yield the boon of time-saving convenience / ( expedite the ability to / unlock the means to more readily ) accomplish everyday tasks / turbocharges the velocity with which one can conduct their obligations ).
|
29 |
informal english: broadband is finally expanding to rural areas, a great development that will thrust them into modern life.
|
30 |
Translated into the Style of Abraham Lincoln: broadband is ( ( finally / at last / after years of delay ) arriving in remote locations / springing to life in far-flung outposts / inching into even the most backwater corners of the nation ) that will leap-frog them into the twenty-first century.
|
|
|
31 |
***
|
|
|
32 |
informal english: google translate has made talking to people who do not share your language easier.
|
33 |
Translated into the Style of Abraham Lincoln: google translate ( imparts communicability to individuals whose native tongue differs / mitigates the trials of communication across linguistic barriers / hastens the bridging of semantic boundaries / mollifies the complexity of multilingual communication / avails itself to the internationalization of discussion / flexes its muscles to abet intercultural conversation / calms the tides of linguistic divergence ).
|
|
|
34 |
***
|
|
|
35 |
informal english: corn fields are all across illinois, visible once you leave chicago.
|
36 |
Translated into the Style of Abraham Lincoln: corn fields ( permeate illinois / span the state of illinois / ( occupy / persist in ) all corners of illinois / line the horizon of illinois / envelop the landscape of illinois ), manifesting themselves visibly as one ventures beyond chicago.
|
|
|
37 |
***
|
|
|
38 |
informal english:"""
|
39 |
with st.form(key='my_form'):
|
40 |
prompt = st.text_area(label='Enter sentence', value=g)
|
|
|
24 |
g = """informal english: garage band has made people who know nothing about music good at creating music.
|
25 |
Translated into the Style of Abraham Lincoln: garage band ( offers the uninitiated in music the ability to produce professional-quality compositions / catapults those for whom music is an uncharted art the ability the realize masterpieces / stimulates music novice's competency to yield sublime arrangements / begets individuals of rudimentary musical talent the proficiency to fashion elaborate suites ).
|
26 |
informal english: chrome extensions can make doing regular tasks much easier to get done.
|
27 |
+
|
28 |
***
|
29 |
+
|
30 |
Translated into the Style of Abraham Lincoln: chrome extensions ( yield the boon of time-saving convenience / ( expedite the ability to / unlock the means to more readily ) accomplish everyday tasks / turbocharges the velocity with which one can conduct their obligations ).
|
31 |
informal english: broadband is finally expanding to rural areas, a great development that will thrust them into modern life.
|
32 |
Translated into the Style of Abraham Lincoln: broadband is ( ( finally / at last / after years of delay ) arriving in remote locations / springing to life in far-flung outposts / inching into even the most backwater corners of the nation ) that will leap-frog them into the twenty-first century.
|
33 |
+
|
34 |
***
|
35 |
+
|
36 |
informal english: google translate has made talking to people who do not share your language easier.
|
37 |
Translated into the Style of Abraham Lincoln: google translate ( imparts communicability to individuals whose native tongue differs / mitigates the trials of communication across linguistic barriers / hastens the bridging of semantic boundaries / mollifies the complexity of multilingual communication / avails itself to the internationalization of discussion / flexes its muscles to abet intercultural conversation / calms the tides of linguistic divergence ).
|
38 |
+
|
39 |
***
|
40 |
+
|
41 |
informal english: corn fields are all across illinois, visible once you leave chicago.
|
42 |
Translated into the Style of Abraham Lincoln: corn fields ( permeate illinois / span the state of illinois / ( occupy / persist in ) all corners of illinois / line the horizon of illinois / envelop the landscape of illinois ), manifesting themselves visibly as one ventures beyond chicago.
|
43 |
+
|
44 |
***
|
45 |
+
|
46 |
informal english:"""
|
47 |
with st.form(key='my_form'):
|
48 |
prompt = st.text_area(label='Enter sentence', value=g)
|