Silvio Galesso commited on
Commit
9be5666
·
1 Parent(s): 277d2b5

appearance fixes

Browse files
Files changed (1) hide show
  1. app2.py +16 -10
app2.py CHANGED
@@ -254,19 +254,23 @@ TITLE_HTML = f"""
254
  </div>
255
  """
256
 
257
- DESCRIPTION = f"""
258
- Sudhanshu Mittal\\*, Arian Mousakhan\\*, Silvio Galesso\\*, Karim Farid,
259
- Johannes Dienert, Rajat Sahay, Thomas Brox
260
- University of Freiburg, Germany (\\*main contributors)
261
-
262
- [Project page](https://lmb-freiburg.github.io/orbis2.github.io/) ·
263
- [Code](https://github.com/lmb-freiburg/orbis) ·
264
- [Orbis 1](https://lmb-freiburg.github.io/orbis.github.io/)
 
 
 
 
265
 
 
266
  Upload a short driving clip (a few seconds is enough). The hierarchical model takes
267
  the tail of the clip as L1 (high-rate) and L2 (low-rate, further back) context and
268
  autoregressively predicts future frames.
269
-
270
  Each run samples **{NUM_VIDEOS} rollouts** from the same context in a single
271
  minibatch, so you see several plausible futures diverge from identical starting
272
  conditions.
@@ -1027,6 +1031,7 @@ def build_demo():
1027
  """
1028
  ) as demo:
1029
  gr.HTML(TITLE_HTML)
 
1030
  gr.Markdown(DESCRIPTION)
1031
 
1032
  with gr.Row():
@@ -1057,12 +1062,13 @@ def build_demo():
1057
  btn = gr.Button("Generate rollouts", variant="primary", elem_id="generate_btn")
1058
 
1059
  with gr.Column(scale=3):
 
1060
  gr.Markdown(
1061
  "**Draw a steering trajectory (optional).** Freehand-draw a path "
1062
  "on the canvas (starts at the green square, forward is up). Leave "
1063
  "it untouched, or hit Clear, to run the rollout unconditionally."
1064
  )
1065
- gr.HTML(TRAJ_CANVAS_HTML_JS)
1066
  gr.HTML(
1067
  '<p style="font-size:11px; color:#555; margin-top:6px;">'
1068
  "Disclaimer: hand-drawn trajectories are likely to be "
 
254
  </div>
255
  """
256
 
257
+ AUTHOR_HTML = """
258
+ <div style="text-align:center; margin-bottom:4px;">
259
+ Sudhanshu Mittal*, Arian Mousakhan*, Silvio Galesso*, Karim Farid,
260
+ Johannes Dienert, Rajat Sahay, Thomas Brox<br>
261
+ — University of Freiburg, Germany (*main contributors)
262
+ </div>
263
+ <div style="text-align:center; margin-bottom:8px;">
264
+ <a href="https://lmb-freiburg.github.io/orbis2.github.io/">Project page</a> ·
265
+ <a href="https://github.com/lmb-freiburg/orbis">Code</a> ·
266
+ <a href="https://lmb-freiburg.github.io/orbis.github.io/">Orbis 1</a>
267
+ </div>
268
+ """
269
 
270
+ DESCRIPTION = f"""
271
  Upload a short driving clip (a few seconds is enough). The hierarchical model takes
272
  the tail of the clip as L1 (high-rate) and L2 (low-rate, further back) context and
273
  autoregressively predicts future frames.
 
274
  Each run samples **{NUM_VIDEOS} rollouts** from the same context in a single
275
  minibatch, so you see several plausible futures diverge from identical starting
276
  conditions.
 
1031
  """
1032
  ) as demo:
1033
  gr.HTML(TITLE_HTML)
1034
+ gr.HTML(AUTHOR_HTML)
1035
  gr.Markdown(DESCRIPTION)
1036
 
1037
  with gr.Row():
 
1062
  btn = gr.Button("Generate rollouts", variant="primary", elem_id="generate_btn")
1063
 
1064
  with gr.Column(scale=3):
1065
+ gr.HTML(TRAJ_CANVAS_HTML_JS)
1066
  gr.Markdown(
1067
  "**Draw a steering trajectory (optional).** Freehand-draw a path "
1068
  "on the canvas (starts at the green square, forward is up). Leave "
1069
  "it untouched, or hit Clear, to run the rollout unconditionally."
1070
  )
1071
+ #gr.HTML(TRAJ_CANVAS_HTML_JS)
1072
  gr.HTML(
1073
  '<p style="font-size:11px; color:#555; margin-top:6px;">'
1074
  "Disclaimer: hand-drawn trajectories are likely to be "