openfree commited on
Commit
0e0a395
β€’
1 Parent(s): 6727cff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -10
app.py CHANGED
@@ -212,16 +212,14 @@ pipeline = XoraVideoPipeline(
212
  vae=vae,
213
  ).to(device)
214
 
215
-
216
-
217
- # State λ³€μˆ˜λ“€μ„ λͺ…μ‹œμ μΈ ID와 ν•¨κ»˜ μ΄ˆκΈ°ν™”
218
- txt2vid_current_height = gr.State(value=320, label="txt2vid_height")
219
- txt2vid_current_width = gr.State(value=512, label="txt2vid_width")
220
- txt2vid_current_num_frames = gr.State(value=257, label="txt2vid_frames")
221
-
222
- img2vid_current_height = gr.State(value=320, label="img2vid_height")
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