Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,7 +102,7 @@ with gr.Blocks(
|
|
| 102 |
height = gr.Number(label="Height", value=640, precision=0)
|
| 103 |
with gr.Row():
|
| 104 |
length = gr.Number(label="Frames", value=81, precision=0)
|
| 105 |
-
fps = gr.Number(label="FPS", value=
|
| 106 |
with gr.Row():
|
| 107 |
steps = gr.Number(label="Steps", value=4, precision=0)
|
| 108 |
cfg = gr.Number(label="CFG", value=5.0)
|
|
@@ -114,7 +114,7 @@ with gr.Blocks(
|
|
| 114 |
run_btn = gr.Button("Generate", variant="primary", scale=1)
|
| 115 |
prog_bar = gr.Slider(label="Progress", minimum=0, maximum=100, value=0, step=1, interactive=False)
|
| 116 |
with gr.Column(scale=1):
|
| 117 |
-
out_video = gr.Video(label="Result")
|
| 118 |
|
| 119 |
def _init_token():
|
| 120 |
return str(uuid.uuid4())
|
|
|
|
| 102 |
height = gr.Number(label="Height", value=640, precision=0)
|
| 103 |
with gr.Row():
|
| 104 |
length = gr.Number(label="Frames", value=81, precision=0)
|
| 105 |
+
fps = gr.Number(label="FPS", value=8, precision=0)
|
| 106 |
with gr.Row():
|
| 107 |
steps = gr.Number(label="Steps", value=4, precision=0)
|
| 108 |
cfg = gr.Number(label="CFG", value=5.0)
|
|
|
|
| 114 |
run_btn = gr.Button("Generate", variant="primary", scale=1)
|
| 115 |
prog_bar = gr.Slider(label="Progress", minimum=0, maximum=100, value=0, step=1, interactive=False)
|
| 116 |
with gr.Column(scale=1):
|
| 117 |
+
out_video = gr.Video(label="Result", height=480)
|
| 118 |
|
| 119 |
def _init_token():
|
| 120 |
return str(uuid.uuid4())
|