Ari Nubar Boyacıoğlu commited on
Commit
4e80ef7
·
1 Parent(s): c20eed6

remove wrong readme

Browse files
Files changed (2) hide show
  1. README copy.md +0 -12
  2. app.py +11 -0
README copy.md DELETED
@@ -1,12 +0,0 @@
1
- ---
2
- title: Hyw En Demo v2
3
- emoji: ⚡
4
- colorFrom: blue
5
- colorTo: purple
6
- sdk: gradio
7
- sdk_version: 4.43.0
8
- app_file: app.py
9
- pinned: false
10
- license: cc-by-4.0
11
- ---
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
app.py CHANGED
@@ -134,8 +134,13 @@ with gr.Blocks(title="Գրաբար-Անգլերէն Մեքենական Թարգ
134
  <p>Թարգմանութեան տիպարը կ'աշխատի CPU-ի մը մէջ, ուրեմն նախադասութեան մը թարգմանութիւնը կրնայ տեւել մօտաւորապէս <strong>40-60 երկվայրկեան</strong>։ Ձեր գնահատութիւնները եւ քննադատութիւնները շատ կարեւոր են տիպարի թարգմանութեան որակը բարելաւելու համար։</p>
135
  <p>Դուք թարգմանութեան որակին մասին ձեր գնահատութիւնը կրնաք տալ երեք գնահատութեան կոճակներէ մէկուն սեղմելով։ Լեզուի, մուտքի եւ ելքի գրութիւններու, յարաչափերու եւ ձեր գնահատութեան մասին տուեալները պիտի պահուին։ Գնահատութիւնը պարտաւոր չէ։</p>
136
 
 
137
  <hr style='margin-top: 5px; margin-bottom: 5px'>
138
 
 
 
 
 
139
  <p>This is the demo of the first Classical Armenian-English neural machine translation system which is based on Meta's 'No Language Left Behind' model.</p>
140
  <p><b>The translation quality of Classical Armenian and English translations is limited due to the limited number of training examples. Your contributions are crucial and most welcome to improve the quality of the translations.</b></p>
141
  <p>The model runs on a CPU, so it might take approximately <strong>40-60 seconds</strong> to translate a single sentence. Your feedback and comments are very important for us to improve the quality of the translation.</p>
@@ -200,6 +205,11 @@ with gr.Blocks(title="Գրաբար-Անգլերէն Մեքենական Թարգ
200
  flag_average_btn.click(save_json, inputs=[src_lang, tgt_lang, text, translated, by_sentence, clean, num_beams, flag_average_btn], outputs=None)
201
  flag_bad_btn.click(save_json, inputs=[src_lang, tgt_lang, text, translated, by_sentence, clean, num_beams, flag_bad_btn], outputs=None)
202
 
 
 
 
 
 
203
  # visitor_badge_html = """
204
  # <a href="https://visitorbadge.io/status?path=https%3A%2F%2Farinubar-hyw-en-demo.hf.space%2F">
205
  # <img src="https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Farinubar-hyw-en-demo.hf.space%2F&label=%D4%B1%D5%B5%D6%81%D5%A5%D5%AC%D5%B8%D6%82%D5%B6%D5%A5%D6%80%20%7C%20Visitors&countColor=%23f97316&style=flat" />
@@ -207,6 +217,7 @@ with gr.Blocks(title="Գրաբար-Անգլերէն Մեքենական Թարգ
207
  # """
208
 
209
  # gr.HTML(visitor_badge_html)
 
210
 
211
 
212
 
 
134
  <p>Թարգմանութեան տիպարը կ'աշխատի CPU-ի մը մէջ, ուրեմն նախադասութեան մը թարգմանութիւնը կրնայ տեւել մօտաւորապէս <strong>40-60 երկվայրկեան</strong>։ Ձեր գնահատութիւնները եւ քննադատութիւնները շատ կարեւոր են տիպարի թարգմանութեան որակը բարելաւելու համար։</p>
135
  <p>Դուք թարգմանութեան որակին մասին ձեր գնահատութիւնը կրնաք տալ երեք գնահատութեան կոճակներէ մէկուն սեղմելով։ Լեզուի, մուտքի եւ ելքի գրութիւններու, յարաչափերու եւ ձեր գնահատութեան մասին տուեալները պիտի պահուին։ Գնահատութիւնը պարտաւոր չէ։</p>
136
 
137
+
138
  <hr style='margin-top: 5px; margin-bottom: 5px'>
139
 
140
+ <p>This is the demo of the first Classical Armenian-English neural machine translation system which is based on Meta's 'No Language Left Behind' model.</p>
141
+ <p><b>The translation quality of Classical Armenian and English translations is limited due to the limited number of training examples. Your contributions are crucial and most welcome to improve the quality of the translations.</b></p>
142
+ <p>The model runs on a CPU, so it might take approximately <strong>40-60 seconds</strong> to translate a single sentence. Your feedback and comments are very important for us to improve the quality of the translation.</p>
143
+
144
  <p>This is the demo of the first Classical Armenian-English neural machine translation system which is based on Meta's 'No Language Left Behind' model.</p>
145
  <p><b>The translation quality of Classical Armenian and English translations is limited due to the limited number of training examples. Your contributions are crucial and most welcome to improve the quality of the translations.</b></p>
146
  <p>The model runs on a CPU, so it might take approximately <strong>40-60 seconds</strong> to translate a single sentence. Your feedback and comments are very important for us to improve the quality of the translation.</p>
 
205
  flag_average_btn.click(save_json, inputs=[src_lang, tgt_lang, text, translated, by_sentence, clean, num_beams, flag_average_btn], outputs=None)
206
  flag_bad_btn.click(save_json, inputs=[src_lang, tgt_lang, text, translated, by_sentence, clean, num_beams, flag_bad_btn], outputs=None)
207
 
208
+ # visitor_badge_html = """
209
+ # <a href="https://visitorbadge.io/status?path=https%3A%2F%2Farinubar-hyw-en-demo.hf.space%2F">
210
+ # <img src="https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Farinubar-hyw-en-demo.hf.space%2F&label=%D4%B1%D5%B5%D6%81%D5%A5%D5%AC%D5%B8%D6%82%D5%B6%D5%A5%D6%80%20%7C%20Visitors&countColor=%23f97316&style=flat" />
211
+ # </a>
212
+ # """
213
  # visitor_badge_html = """
214
  # <a href="https://visitorbadge.io/status?path=https%3A%2F%2Farinubar-hyw-en-demo.hf.space%2F">
215
  # <img src="https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Farinubar-hyw-en-demo.hf.space%2F&label=%D4%B1%D5%B5%D6%81%D5%A5%D5%AC%D5%B8%D6%82%D5%B6%D5%A5%D6%80%20%7C%20Visitors&countColor=%23f97316&style=flat" />
 
217
  # """
218
 
219
  # gr.HTML(visitor_badge_html)
220
+ # gr.HTML(visitor_badge_html)
221
 
222
 
223