Rafael Poyiadzi Claude Opus 4.6 commited on
Commit
af2ebff
·
1 Parent(s): d1f1777

Move css and head back to gr.Blocks() for Gradio 5 compat

Browse files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -309,6 +309,8 @@ _CSS = ".error-box { background: #fee; border: 1px solid #c00; border-radius: 8p
309
 
310
  with gr.Blocks(
311
  title="everyrow annotate – AI Data Annotation & Web Research",
 
 
312
  ) as demo:
313
  gr.Markdown(
314
  """
@@ -636,4 +638,4 @@ with gr.Blocks(
636
  )
637
 
638
  if __name__ == "__main__":
639
- demo.launch(css=_CSS, head=POSTHOG_HEAD)
 
309
 
310
  with gr.Blocks(
311
  title="everyrow annotate – AI Data Annotation & Web Research",
312
+ css=_CSS,
313
+ head=POSTHOG_HEAD,
314
  ) as demo:
315
  gr.Markdown(
316
  """
 
638
  )
639
 
640
  if __name__ == "__main__":
641
+ demo.launch()