Rachel Rakov commited on
Commit
839440d
·
1 Parent(s): 681eeb9

Updated description and examples

Browse files
Files changed (1) hide show
  1. eng_to_aslGloss_app.py +3 -2
eng_to_aslGloss_app.py CHANGED
@@ -96,7 +96,8 @@ def main():
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 For additional details on how the program works, please see the README.md"
 
100
 
101
  interface = gr.Interface(
102
  fn=getGlossFromText,
@@ -104,7 +105,7 @@ def main():
104
  outputs="text",
105
  title = title,
106
  description = description,
107
- examples = [[("Every year I buy my dad a gift", " EVERY-YEAR<Ti>, MY DAD GIFT<T>, ME BUY<A>")]])
108
  # examples=[["Every year I buy my dad a gift"], ["I always look forward to the family vacation"],
109
  # ["If I don't travel often, I am sad."]])
110
  interface.launch()
 
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 For additional details on how the program works, please see \
100
+ [the README](https://huggingface.co/spaces/rrakov/EngTexToASLGloss/blob/main/README.md)"
101
 
102
  interface = gr.Interface(
103
  fn=getGlossFromText,
 
105
  outputs="text",
106
  title = title,
107
  description = description,
108
+ examples = [[("Prompt: Every year I buy my dad a gift \n", "Result: EVERY-YEAR<Ti>, MY DAD GIFT<T>, ME BUY<A>")]])
109
  # examples=[["Every year I buy my dad a gift"], ["I always look forward to the family vacation"],
110
  # ["If I don't travel often, I am sad."]])
111
  interface.launch()