xizaoqu commited on
Commit
44f0e84
ยท
1 Parent(s): d371665
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -346,7 +346,14 @@ def set_memory(examples_case, image_display, log_output, slider_denoising_step,
346
 
347
  return input_history, out_video[-1], temporal_video_path, memory_frames, self_frames, self_actions, self_poses, self_memory_c2w, self_frame_idx
348
 
349
- with gr.Blocks() as demo:
 
 
 
 
 
 
 
350
  gr.Markdown(
351
  """
352
  # WORLDMEM: Long-term Consistent World Generation with Memory
@@ -454,7 +461,7 @@ with gr.Blocks() as demo:
454
  with gr.Column(scale=1):
455
  submit_button = gr.Button("๐ŸŽฌ Generate!", variant="primary")
456
  reset_btn = gr.Button("๐Ÿ”„ Reset")
457
- gr.Markdown("<div style='flex-grow:1; height: 100px'></div>")
458
 
459
  gr.Markdown("### โš™๏ธ Advanced Settings")
460
 
 
346
 
347
  return input_history, out_video[-1], temporal_video_path, memory_frames, self_frames, self_actions, self_poses, self_memory_c2w, self_frame_idx
348
 
349
+ css = """
350
+ h1 {
351
+ text-align: center;
352
+ display:block;
353
+ }
354
+ """
355
+
356
+ with gr.Blocks(css=css) as demo:
357
  gr.Markdown(
358
  """
359
  # WORLDMEM: Long-term Consistent World Generation with Memory
 
461
  with gr.Column(scale=1):
462
  submit_button = gr.Button("๐ŸŽฌ Generate!", variant="primary")
463
  reset_btn = gr.Button("๐Ÿ”„ Reset")
464
+
465
 
466
  gr.Markdown("### โš™๏ธ Advanced Settings")
467