baldator commited on
Commit
86ca5e7
·
1 Parent(s): 0c1c4bd
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -128,7 +128,7 @@ label { font-size: 1.2rem !important; }
128
  button { font-size: 1.1rem !important; }
129
  """
130
 
131
- with gr.Blocks(title="Sprout & Spoon") as demo:
132
 
133
  with gr.Div(elem_classes="title-text"):
134
  gr.Markdown("# 🌿 Sprout & Spoon 🥄")
@@ -209,4 +209,4 @@ with gr.Blocks(title="Sprout & Spoon") as demo:
209
  # Launch – theme and css moved here for Gradio 6.0 compatibility
210
  # ---------------------------------------------------------------------------
211
  if __name__ == "__main__":
212
- demo.launch(share=True, theme=gr.themes.Soft(), css=CUSTOM_CSS)
 
128
  button { font-size: 1.1rem !important; }
129
  """
130
 
131
+ with gr.Blocks(css=CUSTOM_CSS, title="Sprout & Spoon") as demo:
132
 
133
  with gr.Div(elem_classes="title-text"):
134
  gr.Markdown("# 🌿 Sprout & Spoon 🥄")
 
209
  # Launch – theme and css moved here for Gradio 6.0 compatibility
210
  # ---------------------------------------------------------------------------
211
  if __name__ == "__main__":
212
+ demo.launch(share=True, theme=gr.themes.Soft())