jmurray10 commited on
Commit
9cb4e5f
·
verified ·
1 Parent(s): 6fdcb27

Fix: css=CSS belongs on Blocks(), not launch(), in Gradio 5

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -335,7 +335,7 @@ def _mode_change(mode: str, current_code: str) -> tuple:
335
  )
336
 
337
 
338
- with gr.Blocks(title="SemanticEmbed — AI Agent Topology Risk") as demo:
339
  gr.Markdown(INTRO_MD)
340
 
341
  with gr.Row():
@@ -387,4 +387,4 @@ Patent pending · Application #63/994,075
387
 
388
 
389
  if __name__ == "__main__":
390
- demo.launch(css=CSS)
 
335
  )
336
 
337
 
338
+ with gr.Blocks(title="SemanticEmbed — AI Agent Topology Risk", css=CSS) as demo:
339
  gr.Markdown(INTRO_MD)
340
 
341
  with gr.Row():
 
387
 
388
 
389
  if __name__ == "__main__":
390
+ demo.launch()