Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -157,10 +157,16 @@ with gr.Blocks() as demo:
|
|
157 |
<a href="https://github.com/THUDM/CogVideo">π Github</a> |
|
158 |
<a href="https://arxiv.org/pdf/2408.06072">π arxiv </a>
|
159 |
</div>
|
160 |
-
|
|
|
|
|
|
|
|
|
|
|
161 |
<div style="text-align: center; font-size: 15px; font-weight: bold; color: red; margin-bottom: 20px;">
|
162 |
β οΈ This demo is for academic research and experiential use only.
|
163 |
</div>
|
|
|
164 |
""")
|
165 |
with gr.Row():
|
166 |
with gr.Column():
|
@@ -309,4 +315,5 @@ with gr.Blocks() as demo:
|
|
309 |
enhance_button.click(enhance_prompt_func, inputs=[prompt], outputs=[prompt])
|
310 |
|
311 |
if __name__ == "__main__":
|
|
|
312 |
demo.launch()
|
|
|
157 |
<a href="https://github.com/THUDM/CogVideo">π Github</a> |
|
158 |
<a href="https://arxiv.org/pdf/2408.06072">π arxiv </a>
|
159 |
</div>
|
160 |
+
<div style="text-align: center;display: flex;justify-content: center;align-items: center;margin-top: 1em;margin-bottom: .5em;">
|
161 |
+
<span>If the Space is too busy, duplicate it to use privately</span>
|
162 |
+
<a href="https://huggingface.co/spaces/THUDM/CogVideoX-5B-Space?duplicate=true"><img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-lg.svg" width="160" style="
|
163 |
+
margin-left: .75em;
|
164 |
+
"></a>
|
165 |
+
</div>
|
166 |
<div style="text-align: center; font-size: 15px; font-weight: bold; color: red; margin-bottom: 20px;">
|
167 |
β οΈ This demo is for academic research and experiential use only.
|
168 |
</div>
|
169 |
+
|
170 |
""")
|
171 |
with gr.Row():
|
172 |
with gr.Column():
|
|
|
315 |
enhance_button.click(enhance_prompt_func, inputs=[prompt], outputs=[prompt])
|
316 |
|
317 |
if __name__ == "__main__":
|
318 |
+
demo.queue(max_size=15)
|
319 |
demo.launch()
|