Rachel Rakov commited on
Commit
69cbf5e
1 Parent(s): 677a83f

Improving instruction formatting

Browse files
Files changed (1) hide show
  1. eng_to_aslGloss_app.py +9 -6
eng_to_aslGloss_app.py CHANGED
@@ -95,9 +95,12 @@ def main():
95
  #description = """Translate English text to ASL Gloss"""
96
  description = "This program uses GPT4 alongside prompt engineering to \
97
  translate English text to ASL gloss.\n \
98
- Type in the English sentence you would like to translate into ASL Gloss. \
99
- \n Below are the guidelines we are using to express superscript ASL gloss.\
100
- Anything within the angle brackets < > indicates superscript notation.\
 
 
 
101
  If the angle brackets are directly next to a word, the notation inside \
102
  the angle brackets is associate with just that word, e.g. WILL < A >. \
103
  If the angle brackets are next to a whitespace after a word,\
@@ -105,7 +108,7 @@ def main():
105
  before it, up until a comma, another angle bracket, or a double space.\
106
  \n \n This sentence is an example of this rule:\
107
  \n NEXT-YEAR < Ti >, MY FIANCE < T >, TWO-OF-US MARRY \< A \>.\
108
- \n \
109
  \n The superscript notation options that will appear in results are as follows:\
110
  \n Ti marks time\
111
  \n T marks topic\
@@ -118,8 +121,8 @@ def main():
118
  \n ++ marks emphesis ('very' or 'a lot of')\
119
  \n \# marks lexical fingerspelling \
120
  \n \- marks space between individual letters of fingerspelling\
121
- \n \n Note: This is a prototype and is still in development. \
122
- Do not use it in a production deployment. \
123
  \n For additional details on how the program works, please see \
124
  [the README](https://huggingface.co/spaces/rrakov/EngTexToASLGloss/blob/main/README.md)"
125
 
 
95
  #description = """Translate English text to ASL Gloss"""
96
  description = "This program uses GPT4 alongside prompt engineering to \
97
  translate English text to ASL gloss.\n \
98
+ <b>Type in the English sentence you would like to translate into ASL Gloss.</b> \
99
+ \n \n This version of EngToASLGloss contains superscript notation which adds \
100
+ grammatical context to assist in ASL generation. \
101
+ \n Below are the guidelines we are using to express grammatical concepts \
102
+ in ASL gloss.\
103
+ Anything within the angle brackets < > indicates this additional grammatical notation.\
104
  If the angle brackets are directly next to a word, the notation inside \
105
  the angle brackets is associate with just that word, e.g. WILL < A >. \
106
  If the angle brackets are next to a whitespace after a word,\
 
108
  before it, up until a comma, another angle bracket, or a double space.\
109
  \n \n This sentence is an example of this rule:\
110
  \n NEXT-YEAR < Ti >, MY FIANCE < T >, TWO-OF-US MARRY \< A \>.\
111
+ \n\r \
112
  \n The superscript notation options that will appear in results are as follows:\
113
  \n Ti marks time\
114
  \n T marks topic\
 
121
  \n ++ marks emphesis ('very' or 'a lot of')\
122
  \n \# marks lexical fingerspelling \
123
  \n \- marks space between individual letters of fingerspelling\
124
+ \n \n <b>Note: This is a prototype and is still in development. \
125
+ Do not use it in a production deployment.</b> \
126
  \n For additional details on how the program works, please see \
127
  [the README](https://huggingface.co/spaces/rrakov/EngTexToASLGloss/blob/main/README.md)"
128