hysts HF staff commited on
Commit
55cf602
1 Parent(s): 752ce53

Update description

Browse files
Files changed (1) hide show
  1. app.py +7 -1
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.