FlameF0X commited on
Commit
be1ad31
·
verified ·
1 Parent(s): e2ba941

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -297,7 +297,10 @@ custom_css = """
297
  }
298
  """
299
 
300
- with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
 
 
 
301
  # Header
302
  with gr.Row():
303
  gr.Markdown(
 
297
  }
298
  """
299
 
300
+ with gr.Blocks(theme=gr.themes.Soft()) as demo:
301
+ # Inject CSS via HTML component to avoid Blocks() keyword argument error
302
+ gr.HTML(f"<style>{custom_css}</style>")
303
+
304
  # Header
305
  with gr.Row():
306
  gr.Markdown(