Spaces:
Runtime error
Runtime error
hysts
commited on
Commit
·
effa659
1
Parent(s):
44dc4a4
Update description
Browse files
app.py
CHANGED
@@ -6,7 +6,13 @@ import gradio as gr
|
|
6 |
|
7 |
from model import AppModel
|
8 |
|
9 |
-
DESCRIPTION = '# <a href="https://github.com/THUDM/CogView2">CogView2</a> (text2image)
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
NOTES = '''
|
11 |
- 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.
|
12 |
- [This Space](https://huggingface.co/spaces/chinhon/translation_eng2ch) is used for translation from English to Chinese.
|
|
|
6 |
|
7 |
from model import AppModel
|
8 |
|
9 |
+
DESCRIPTION = '''# <a href="https://github.com/THUDM/CogView2">CogView2</a> (text2image)
|
10 |
+
|
11 |
+
This application accepts English or Chinese as input.
|
12 |
+
In general, Chinese input produces better results than English input.
|
13 |
+
But the translation model used in this app may mistranslate and the results could be poor.
|
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.
|