multimodalart HF Staff commited on
Commit
bbcdab3
·
verified ·
1 Parent(s): 50e859a

debug: dual readout + gradio6 theme fix

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -321,7 +321,6 @@ def save_video_with_trend(frames, values, sampled_indices, fps, output_path, tas
321
  codec="libx264",
322
  quality=7,
323
  macro_block_size=None,
324
- ffmpeg_params=["-pix_fmt", "yuv420p"],
325
  )
326
  try:
327
  pos = 0
@@ -567,7 +566,7 @@ The output video plays the clip next to the predicted value curve (blue) alongsi
567
  remaining time of the clip (dashed green).
568
  """
569
 
570
- with gr.Blocks(theme=gr.themes.Citrus(), title="RynnValue-4B") as demo:
571
  gr.Markdown(DESCRIPTION)
572
 
573
  with gr.Row():
@@ -653,4 +652,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), title="RynnValue-4B") as demo:
653
  )
654
 
655
  if __name__ == "__main__":
656
- demo.queue(max_size=12).launch(mcp_server=True)
 
321
  codec="libx264",
322
  quality=7,
323
  macro_block_size=None,
 
324
  )
325
  try:
326
  pos = 0
 
566
  remaining time of the clip (dashed green).
567
  """
568
 
569
+ with gr.Blocks(title="RynnValue-4B") as demo:
570
  gr.Markdown(DESCRIPTION)
571
 
572
  with gr.Row():
 
652
  )
653
 
654
  if __name__ == "__main__":
655
+ demo.queue(max_size=12).launch(theme=gr.themes.Citrus(), mcp_server=True)