Update app.py
Browse files
app.py
CHANGED
|
@@ -297,7 +297,10 @@ custom_css = """
|
|
| 297 |
}
|
| 298 |
"""
|
| 299 |
|
| 300 |
-
with gr.Blocks(
|
|
|
|
|
|
|
|
|
|
| 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(
|