prithivMLmods commited on
Commit
aa45ca0
Β·
verified Β·
1 Parent(s): 42146fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -130,7 +130,7 @@ def run_zoomgs(
130
  # Custom trajectory (Option 2)
131
  # ──────────────────────────────────────────────
132
 
133
- @spaces.GPU(duration=900)
134
  def run_custom_traj(
135
  image,
136
  trajectory_file,
@@ -369,7 +369,7 @@ label, .gr-form > label, .block > label span {
369
 
370
 
371
  def build_app():
372
- with gr.Blocks(css=CSS, title="Lyra 2.0 β€” Explorable 3D Worlds") as demo:
373
 
374
  # ── Header ──────────────────────────────────
375
  gr.HTML("""
@@ -521,4 +521,4 @@ huggingface-cli download nvidia/Lyra-2.0 \\
521
 
522
  if __name__ == "__main__":
523
  demo = build_app()
524
- demo.launch()
 
130
  # Custom trajectory (Option 2)
131
  # ──────────────────────────────────────────────
132
 
133
+ @spaces.GPU(duration=200)
134
  def run_custom_traj(
135
  image,
136
  trajectory_file,
 
369
 
370
 
371
  def build_app():
372
+ with gr.Blocks() as demo:
373
 
374
  # ── Header ──────────────────────────────────
375
  gr.HTML("""
 
521
 
522
  if __name__ == "__main__":
523
  demo = build_app()
524
+ demo.launch(css=CSS)