Spaces:
Runtime error
Runtime error
hysts
commited on
Commit
·
26bddc7
1
Parent(s):
ef42685
Update description
Browse files
app.py
CHANGED
|
@@ -10,12 +10,12 @@ DESCRIPTION = '''# <a href="https://github.com/THUDM/CogView2">CogView2</a> (tex
|
|
| 10 |
|
| 11 |
This application accepts English or Chinese as input.
|
| 12 |
In general, Chinese input produces better results than English input.
|
| 13 |
-
|
|
|
|
| 14 |
So, it is also a good idea to input the translation results from other translation services.
|
| 15 |
'''
|
| 16 |
NOTES = '''
|
| 17 |
- This app is adapted from <a href="https://github.com/hysts/CogView2_demo">https://github.com/hysts/CogView2_demo</a>. It would be recommended to use the repo if you want to run the app yourself.
|
| 18 |
-
- [This Space](https://huggingface.co/spaces/chinhon/translation_eng2ch) is used for translation from English to Chinese.
|
| 19 |
'''
|
| 20 |
FOOTER = '<img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.glitch.me/badge?page_id=THUDM.CogView2" />'
|
| 21 |
|
|
|
|
| 10 |
|
| 11 |
This application accepts English or Chinese as input.
|
| 12 |
In general, Chinese input produces better results than English input.
|
| 13 |
+
If you check the "Translate to Chinese" checkbox, the app will use the English to Chinese translation results with [this Space](https://huggingface.co/spaces/chinhon/translation_eng2ch) as input.
|
| 14 |
+
But the translation model may mistranslate and the results could be poor.
|
| 15 |
So, it is also a good idea to input the translation results from other translation services.
|
| 16 |
'''
|
| 17 |
NOTES = '''
|
| 18 |
- This app is adapted from <a href="https://github.com/hysts/CogView2_demo">https://github.com/hysts/CogView2_demo</a>. It would be recommended to use the repo if you want to run the app yourself.
|
|
|
|
| 19 |
'''
|
| 20 |
FOOTER = '<img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.glitch.me/badge?page_id=THUDM.CogView2" />'
|
| 21 |
|