mukunda1729 commited on
Commit
be2ff03
·
verified ·
1 Parent(s): e09c815

fix: move theme= back to Blocks() (Gradio 4 API)

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -212,7 +212,7 @@ def cast_demo(messy_text: str, shape_json: str):
212
 
213
  # ---------- UI ----------------------------------------------------------------
214
 
215
- with gr.Blocks(title="The Agent Reliability Stack — Live Demo") as demo:
216
  gr.Markdown(
217
  """
218
  # The Agent Reliability Stack — Live Demo
@@ -290,4 +290,4 @@ with gr.Blocks(title="The Agent Reliability Stack — Live Demo") as demo:
290
  )
291
 
292
  if __name__ == "__main__":
293
- demo.launch(theme=gr.themes.Soft())
 
212
 
213
  # ---------- UI ----------------------------------------------------------------
214
 
215
+ with gr.Blocks(title="The Agent Reliability Stack — Live Demo", theme=gr.themes.Soft()) as demo:
216
  gr.Markdown(
217
  """
218
  # The Agent Reliability Stack — Live Demo
 
290
  )
291
 
292
  if __name__ == "__main__":
293
+ demo.launch()