Spaces:
Runtime error
Runtime error
Commit
Β·
4e684d3
1
Parent(s):
05833ed
Update app.py
Browse files
app.py
CHANGED
|
@@ -216,6 +216,7 @@ def get_video_control(prompt, input_video, seed, ddim_steps):
|
|
| 216 |
|
| 217 |
from gradio_t2v import create_demo as create_demo_basic
|
| 218 |
from gradio_videolora import create_demo as create_demo_videolora
|
|
|
|
| 219 |
|
| 220 |
DESCRIPTION = '# [Latent Video Diffusion Models](https://github.com/VideoCrafter/VideoCrafter)'
|
| 221 |
DESCRIPTION += '\n<p>π€π€π€ VideoCrafter is an open-source video generation and editing toolbox for crafting video content. This model can only be used for non-commercial purposes. To learn more about the model, take a look at the <a href="https://github.com/VideoCrafter/VideoCrafter" style="text-decoration: underline;" target="_blank">model card</a>.</p>'
|
|
@@ -228,7 +229,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
| 228 |
with gr.TabItem('VideoLoRA'):
|
| 229 |
create_demo_videolora(get_video_lora)
|
| 230 |
with gr.TabItem('VideoControl'):
|
| 231 |
-
|
| 232 |
|
| 233 |
demo.queue(api_open=False).launch()
|
| 234 |
|
|
|
|
| 216 |
|
| 217 |
from gradio_t2v import create_demo as create_demo_basic
|
| 218 |
from gradio_videolora import create_demo as create_demo_videolora
|
| 219 |
+
from gradio_videocontrol import create_demo as create_demo_videocontrol
|
| 220 |
|
| 221 |
DESCRIPTION = '# [Latent Video Diffusion Models](https://github.com/VideoCrafter/VideoCrafter)'
|
| 222 |
DESCRIPTION += '\n<p>π€π€π€ VideoCrafter is an open-source video generation and editing toolbox for crafting video content. This model can only be used for non-commercial purposes. To learn more about the model, take a look at the <a href="https://github.com/VideoCrafter/VideoCrafter" style="text-decoration: underline;" target="_blank">model card</a>.</p>'
|
|
|
|
| 229 |
with gr.TabItem('VideoLoRA'):
|
| 230 |
create_demo_videolora(get_video_lora)
|
| 231 |
with gr.TabItem('VideoControl'):
|
| 232 |
+
create_demo_videocontrol(get_video_control)
|
| 233 |
|
| 234 |
demo.queue(api_open=False).launch()
|
| 235 |
|