Update app.py
Browse files
app.py
CHANGED
@@ -8,16 +8,16 @@ import gradio as gr
|
|
8 |
|
9 |
MAINTENANCE_NOTICE='Sorry, due to computing resources issues, this space is under maintenance, and will be restored as soon as possible. '
|
10 |
|
11 |
-
DESCRIPTION = '''# <a href="https://github.com/THUDM/CogVideo">CogVideo</a>
|
12 |
|
13 |
-
Currently, this Space only supports the first stage of the CogVideo pipeline due to hardware limitations.
|
14 |
|
15 |
-
The model accepts only Chinese as input.
|
16 |
-
By checking the "Translate to Chinese" checkbox, the results of English to Chinese translation with [this Space](https://huggingface.co/spaces/chinhon/translation_eng2ch) will be used as input.
|
17 |
-
Since the translation model may mistranslate, you may want to use the translation results from other translation services.
|
18 |
'''
|
19 |
-
NOTES = 'This app is adapted from <a href="https://github.com/hysts/CogVideo_demo">https://github.com/hysts/CogVideo_demo</a>. It would be recommended to use the repo if you want to run the app yourself.'
|
20 |
-
FOOTER = '<img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.glitch.me/badge?page_id=THUDM.CogVideo" />'
|
21 |
|
22 |
import json
|
23 |
import requests
|
|
|
8 |
|
9 |
MAINTENANCE_NOTICE='Sorry, due to computing resources issues, this space is under maintenance, and will be restored as soon as possible. '
|
10 |
|
11 |
+
#DESCRIPTION = '''# <a href="https://github.com/THUDM/CogVideo">CogVideo</a>
|
12 |
|
13 |
+
#Currently, this Space only supports the first stage of the CogVideo pipeline due to hardware limitations.
|
14 |
|
15 |
+
#The model accepts only Chinese as input.
|
16 |
+
#By checking the "Translate to Chinese" checkbox, the results of English to Chinese translation with [this Space](https://huggingface.co/spaces/chinhon/translation_eng2ch) will be used as input.
|
17 |
+
#Since the translation model may mistranslate, you may want to use the translation results from other translation services.
|
18 |
'''
|
19 |
+
#NOTES = 'This app is adapted from <a href="https://github.com/hysts/CogVideo_demo">https://github.com/hysts/CogVideo_demo</a>. It would be recommended to use the repo if you want to run the app yourself.'
|
20 |
+
#FOOTER = '<img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.glitch.me/badge?page_id=THUDM.CogVideo" />'
|
21 |
|
22 |
import json
|
23 |
import requests
|