thenewfolder commited on
Commit
dbd4d2b
·
verified ·
1 Parent(s): 8cd8460

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -292,11 +292,7 @@ allowfullscreen></iframe>
292
 
293
 
294
  def build_ui() -> gr.Blocks:
295
- theme = gr.themes.Soft(primary_hue="green", neutral_hue="zinc").set(
296
- body_background_fill="#0b0f0c",
297
- block_background_fill="#121814",
298
- )
299
- with gr.Blocks(theme=theme, title="DynamicVLA · DOM") as demo:
300
  gr.Markdown(
301
  "# DynamicVLA — DOM action-chunk demo\n"
302
  "0.4B VLA for dynamic object manipulation. "
@@ -376,6 +372,8 @@ def build_ui() -> gr.Blocks:
376
  ),
377
  ],
378
  inputs=inputs,
 
 
379
  label="DOM-style prompts (official comparison stills as both views)",
380
  cache_examples=True,
381
  cache_mode="lazy",
@@ -406,4 +404,7 @@ def build_ui() -> gr.Blocks:
406
  demo = build_ui()
407
 
408
  if __name__ == "__main__":
409
- demo.launch(mcp_server=True)
 
 
 
 
292
 
293
 
294
  def build_ui() -> gr.Blocks:
295
+ with gr.Blocks(title="DynamicVLA · DOM") as demo:
 
 
 
 
296
  gr.Markdown(
297
  "# DynamicVLA — DOM action-chunk demo\n"
298
  "0.4B VLA for dynamic object manipulation. "
 
372
  ),
373
  ],
374
  inputs=inputs,
375
+ outputs=[table, path, summary],
376
+ fn=predict_action_chunk,
377
  label="DOM-style prompts (official comparison stills as both views)",
378
  cache_examples=True,
379
  cache_mode="lazy",
 
404
  demo = build_ui()
405
 
406
  if __name__ == "__main__":
407
+ demo.launch(
408
+ mcp_server=True,
409
+ theme=gr.themes.Soft(primary_hue="green", neutral_hue="zinc"),
410
+ )