Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import torch
|
| 2 |
-
|
| 3 |
# General
|
| 4 |
import os
|
| 5 |
from os.path import join as opj
|
|
@@ -176,9 +176,9 @@ with gr.Blocks() as demo:
|
|
| 176 |
video_stage1 = gr.Video(label='Long Video Preview', show_label=True, interactive=False, scale=2, show_download_button=True)
|
| 177 |
with gr.Row():
|
| 178 |
with gr.Row():
|
| 179 |
-
run_button_stage1 = gr.Button("
|
| 180 |
with gr.Row():
|
| 181 |
-
run_button_stage2 = gr.Button("
|
| 182 |
|
| 183 |
with gr.Row():
|
| 184 |
with gr.Column():
|
|
|
|
| 1 |
import torch
|
| 2 |
+
torch.jit.script = lambda f: f
|
| 3 |
# General
|
| 4 |
import os
|
| 5 |
from os.path import join as opj
|
|
|
|
| 176 |
video_stage1 = gr.Video(label='Long Video Preview', show_label=True, interactive=False, scale=2, show_download_button=True)
|
| 177 |
with gr.Row():
|
| 178 |
with gr.Row():
|
| 179 |
+
run_button_stage1 = gr.Button("Long Video Generation (faster preview)")
|
| 180 |
with gr.Row():
|
| 181 |
+
run_button_stage2 = gr.Button("Long Video Generation")
|
| 182 |
|
| 183 |
with gr.Row():
|
| 184 |
with gr.Column():
|