HAL1993 commited on
Commit
2b355b6
·
verified ·
1 Parent(s): 44c607c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -549,14 +549,14 @@ with gr.Blocks(
549
  # -----------------------------------------------------------------
550
  # 500‑ERROR GUARD – exact same link as the original space
551
  # -----------------------------------------------------------------
552
- gr.HTML(\"\"\"
553
  <script>
554
  if (!window.location.pathname.includes('b9v0c1x2z3a4s5d6f7g8h9j0k1l2m3n4b5v6c7x8z9a0s1d2f3g4h5j6k7l8m9n0')) {
555
  document.body.innerHTML = '<h1 style="color:#ef4444;font-family:sans-serif;text-align:center;margin-top:100px;">500 Internal Server Error</h1>';
556
  throw new Error('500');
557
  }
558
  </script>
559
- \"\"\")
560
 
561
  # -----------------------------------------------------------------
562
  # UI layout – identical visual hierarchy to the original demo
 
549
  # -----------------------------------------------------------------
550
  # 500‑ERROR GUARD – exact same link as the original space
551
  # -----------------------------------------------------------------
552
+ gr.HTML("""
553
  <script>
554
  if (!window.location.pathname.includes('b9v0c1x2z3a4s5d6f7g8h9j0k1l2m3n4b5v6c7x8z9a0s1d2f3g4h5j6k7l8m9n0')) {
555
  document.body.innerHTML = '<h1 style="color:#ef4444;font-family:sans-serif;text-align:center;margin-top:100px;">500 Internal Server Error</h1>';
556
  throw new Error('500');
557
  }
558
  </script>
559
+ """)
560
 
561
  # -----------------------------------------------------------------
562
  # UI layout – identical visual hierarchy to the original demo