Kohaku-Blueleaf commited on
Commit
64d98a2
·
1 Parent(s): 296df1e
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -299,7 +299,7 @@ def generate(
299
 
300
 
301
  # --- Gradio UI Definition ---
302
- with gr.Blocks(css="footer {display: none !important}") as demo:
303
  gr.Markdown("# HomeDiffusion Gradio UI")
304
  gr.Markdown(
305
  "### Enter a natural language prompt and/or specific tags to generate an image."
@@ -405,4 +405,4 @@ with gr.Blocks(css="footer {display: none !important}") as demo:
405
  )
406
 
407
  if __name__ == "__main__":
408
- demo.launch(ssr_mode=False)
 
299
 
300
 
301
  # --- Gradio UI Definition ---
302
+ with gr.Blocks(css="footer {display: none !important}", title="HDM Demo", theme=gr.themes.Soft()) as demo:
303
  gr.Markdown("# HomeDiffusion Gradio UI")
304
  gr.Markdown(
305
  "### Enter a natural language prompt and/or specific tags to generate an image."
 
405
  )
406
 
407
  if __name__ == "__main__":
408
+ demo.launch()