Beepeen24 commited on
Commit
f51e2c4
·
verified ·
1 Parent(s): 3dfa903

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1069,7 +1069,7 @@ def show_success():
1069
  )
1070
 
1071
 
1072
- with gr.Blocks(theme=gr.themes.Soft()) as demo:
1073
  # Add custom CSS via HTML component (compatible with Gradio 4.44.0+)
1074
  gr.HTML(f"<style>{css}</style>")
1075
 
@@ -1355,4 +1355,5 @@ if __name__ == "__main__":
1355
  server_name=args.server_name,
1356
  server_port=args.server_port,
1357
  show_error=True,
 
1358
  )
 
1069
  )
1070
 
1071
 
1072
+ with gr.Blocks() as demo:
1073
  # Add custom CSS via HTML component (compatible with Gradio 4.44.0+)
1074
  gr.HTML(f"<style>{css}</style>")
1075
 
 
1355
  server_name=args.server_name,
1356
  server_port=args.server_port,
1357
  show_error=True,
1358
+ theme=gr.themes.Soft(),
1359
  )