Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -404,7 +404,8 @@ function refresh() {
|
|
| 404 |
}
|
| 405 |
"""
|
| 406 |
|
| 407 |
-
|
|
|
|
| 408 |
gr.Markdown("""
|
| 409 |
<h2 style="text-align: center; font-size: 2.25rem; font-weight: 600;">
|
| 410 |
Driver Analysis Demo - Purchase Consideration
|
|
@@ -438,5 +439,5 @@ with gr.Blocks(css=css, js=js, theme=gr.themes.Base()) as demo:
|
|
| 438 |
outputs=[r2_output, avg_target_output, factor_performance_plot, driver_analysis_plot]
|
| 439 |
)
|
| 440 |
|
| 441 |
-
# Launch
|
| 442 |
-
demo.launch(server_name="0.0.0.0", share=False
|
|
|
|
| 404 |
}
|
| 405 |
"""
|
| 406 |
|
| 407 |
+
# Create the Gradio interface with light theme
|
| 408 |
+
with gr.Blocks(css=css, js=js, theme=gr.themes.Soft()) as demo:
|
| 409 |
gr.Markdown("""
|
| 410 |
<h2 style="text-align: center; font-size: 2.25rem; font-weight: 600;">
|
| 411 |
Driver Analysis Demo - Purchase Consideration
|
|
|
|
| 439 |
outputs=[r2_output, avg_target_output, factor_performance_plot, driver_analysis_plot]
|
| 440 |
)
|
| 441 |
|
| 442 |
+
# Launch without the theme parameter
|
| 443 |
+
demo.launch(server_name="0.0.0.0", share=False)
|