# \[Solved\] Sd-webui-text2video doesn't generate any videos

**URL:** <https://discuss.huggingface.co/t/solved-sd-webui-text2video-doesnt-generate-any-videos/105645>\
**Category:** Beginners\
**Created:** [September 6, 2024, 2:24pm UTC](https://discuss.huggingface.co/t/solved-sd-webui-text2video-doesnt-generate-any-videos/105645 "2024-09-06T14:24:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arsene9527](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@Arsene9527](https://discuss.huggingface.co/u/Arsene9527)\
**Post date:** [September 6, 2024, 2:24pm UTC](https://discuss.huggingface.co/t/solved-sd-webui-text2video-doesnt-generate-any-videos/105645/1 "2024-09-06T14:24:54Z")

</div>

I successfully installed [stable-diffusion-webui-1.7.0](https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.7.0) along with its text to video extension from [sd-webui-text2video](https://github.com/kabachuha/sd-webui-text2video). Also, I can generate image from text as well without a problem.

However, when attempting to generate a video through text, the ui gets stuck after clicking the _Generate_ button, which switches to _interrupt_ and _Skip_ buttons, then no response. The terminal also do not have any progress bar or error messages.

The log messages in terminal are as below

```auto
...
Startup time: 5.1s (prepare environment: 0.2s, import torch: 1.7s, import gradio: 0.4s, setup paths: 1.2s, other imports: 0.3s, load scripts: 0.5s, create ui: 0.3s, gradio launch: 0.4s).
Applying attention optimization: InvokeAI... done.
Model loaded in 2.6s (load weights from disk: 0.4s, create model: 0.4s, apply weights to model: 0.9s, apply float(): 0.7s, calculate empty prompt: 0.1s). 
// no progress bar. no more message

```

In `models/ModelScope/t2v/`, there exists files

```auto
configuration.json open_clip_pytorch_model.bin text2video_pytorch_model.pth VQGAN_autoencoder.pth

```

And `models/VideoCrafter/` contains `model.ckpt` file.

My python3 version `3.10.14`. Launch the webui.sh with `export COMMANDLINE_ARGS="--skip-torch-cuda-test --no-half"` params.

How should I fix this? Thanks

---

<div class="post-metadata">

**Author:** ![Arsene9527](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@Arsene9527](https://discuss.huggingface.co/u/Arsene9527)\
**Post date:** [September 6, 2024, 2:59pm UTC](https://discuss.huggingface.co/t/solved-sd-webui-text2video-doesnt-generate-any-videos/105645/2 "2024-09-06T14:59:17Z")

</div>

Ok I just found a workaround. [Here](https://github.com/kabachuha/sd-webui-text2video/issues/243#issuecomment-2129593303) it describes how to fix the problem.

1. Edit `extensions/sd-webui-text2video/javascript/t2v_progressbar.js`
2. Paste the following function below another function.

```auto
function setSubmitButtonsVisibility(tabname, showInterrupt, showSkip, showInterrupting) {
    gradioApp().getElementById(tabname + '_interrupt').style.display = showInterrupt ? "block" : "none";
    gradioApp().getElementById(tabname + '_skip').style.display = showSkip ? "block" : "none";
}

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/hellohellohello/original/2X/d/de4155eb4aa4108ecb32a1389d7cc37ae69f88b7.png) [@system](https://discuss.huggingface.co/u/system)\
**Post date:** [September 7, 2024, 2:59am UTC](https://discuss.huggingface.co/t/solved-sd-webui-text2video-doesnt-generate-any-videos/105645/3 "2024-09-07T02:59:46Z")

</div>

Closed on September 7, 2024, 2:59am UTC

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
