Spaces:
Runtime error
Runtime error
Update description
Browse files9 unmodified lines1011121314151617181920219 unmodified linesThis application accepts English or Chinese as input.In general, Chinese input produces better results than English input.But the translation model used in this app may mistranslate and the results could be poor.So, it is also a good idea to input the translation results from other translation services.'''NOTES = '''- 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.- [This Space](https://huggingface.co/spaces/chinhon/translation_eng2ch) is used for translation from English to Chinese.'''FOOTER = '<img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.glitch.me/badge?page_id=THUDM.CogView2" />'9 unmodified lines1011121314151617181920219 unmodified linesThis application accepts English or Chinese as input.In general, Chinese input produces better results than English input.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.But the translation model may mistranslate and the results could be poor.So, it is also a good idea to input the translation results from other translation services.'''NOTES = '''- 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.'''FOOTER = '<img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.glitch.me/badge?page_id=THUDM.CogView2" />'
app.py+2-2