md896 commited on
Commit
4c3e70f
·
1 Parent(s): 096e16d

Point /demo and Gradio at diagram-end-to-end-workflow.png (asset on Hub via Xet).

Browse files
Files changed (2) hide show
  1. server/demo_page.html +1 -1
  2. server/gradio_ui.py +2 -2
server/demo_page.html CHANGED
@@ -626,7 +626,7 @@
626
  <p class="caption">Runtime flow (solid) vs training and ops (dashed). Reviewer-guarded path optional for safer rollouts.</p>
627
  </div>
628
  <div class="diagram-wrap">
629
- <img src="/static/environment-workflow.png" alt="End-to-end workflow: Client, FastAPI, environment core, data and reward layer, training and deployment." width="1600" height="900" loading="eager" decoding="async" />
630
  </div>
631
  <div class="figure-footer">
632
  <div class="legend">
 
626
  <p class="caption">Runtime flow (solid) vs training and ops (dashed). Reviewer-guarded path optional for safer rollouts.</p>
627
  </div>
628
  <div class="diagram-wrap">
629
+ <img src="/static/diagram-end-to-end-workflow.png" alt="End-to-end workflow: Client, FastAPI, environment core, data and reward layer, training and deployment." width="1600" height="900" loading="eager" decoding="async" />
630
  </div>
631
  <div class="figure-footer">
632
  <div class="legend">
server/gradio_ui.py CHANGED
@@ -192,7 +192,7 @@ def _safe_reward(value: Any) -> float:
192
  def build_blocks(static_dir: Path) -> Any:
193
  import gradio as gr
194
 
195
- wf = _img_path(static_dir, "environment-workflow.png")
196
  chart_leap = _img_path(static_dir, "chart-performance-leap.png", "hero_performance_leap.png")
197
  chart_dual = _img_path(static_dir, "chart-comparison-shift.png", "hero_dual_benchmark.png")
198
  chart_spider = _img_path(static_dir, "chart-spider-benchmark.png", "hero_spider_sota.png")
@@ -536,7 +536,7 @@ def build_blocks(static_dir: Path) -> Any:
536
  if wf:
537
  gr.Image(value=wf, label="End-to-end workflow", type="filepath", show_label=True)
538
  else:
539
- gr.Markdown("*Add `server/static/environment-workflow.png`*")
540
 
541
  gr.Markdown(
542
  '<p class="sde-section-title">OpenEnv HTTP API</p>'
 
192
  def build_blocks(static_dir: Path) -> Any:
193
  import gradio as gr
194
 
195
+ wf = _img_path(static_dir, "diagram-end-to-end-workflow.png", "environment-workflow.png")
196
  chart_leap = _img_path(static_dir, "chart-performance-leap.png", "hero_performance_leap.png")
197
  chart_dual = _img_path(static_dir, "chart-comparison-shift.png", "hero_dual_benchmark.png")
198
  chart_spider = _img_path(static_dir, "chart-spider-benchmark.png", "hero_spider_sota.png")
 
536
  if wf:
537
  gr.Image(value=wf, label="End-to-end workflow", type="filepath", show_label=True)
538
  else:
539
+ gr.Markdown("*Add `server/static/diagram-end-to-end-workflow.png`*")
540
 
541
  gr.Markdown(
542
  '<p class="sde-section-title">OpenEnv HTTP API</p>'