Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -212,16 +212,14 @@ pipeline = XoraVideoPipeline(
|
|
212 |
vae=vae,
|
213 |
).to(device)
|
214 |
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
img2vid_current_width = gr.State(value=512, label="img2vid_width")
|
224 |
-
img2vid_current_num_frames = gr.State(value=257, label="img2vid_frames")
|
225 |
|
226 |
# Preset options for resolution and frame configuration
|
227 |
# Convert frames to seconds assuming 25 FPS
|
|
|
212 |
vae=vae,
|
213 |
).to(device)
|
214 |
|
215 |
+
# State λ³μλ€μ μ΄κΈ°ν μμ
|
216 |
+
txt2vid_current_height = gr.State(value=320)
|
217 |
+
txt2vid_current_width = gr.State(value=512)
|
218 |
+
txt2vid_current_num_frames = gr.State(value=257)
|
219 |
+
|
220 |
+
img2vid_current_height = gr.State(value=320)
|
221 |
+
img2vid_current_width = gr.State(value=512)
|
222 |
+
img2vid_current_num_frames = gr.State(value=257)
|
|
|
|
|
223 |
|
224 |
# Preset options for resolution and frame configuration
|
225 |
# Convert frames to seconds assuming 25 FPS
|