Update app.py
Browse files
app.py
CHANGED
|
@@ -432,8 +432,24 @@ def run_full_analysis(tickers_str: str, time_range: str, show_bollinger: bool, f
|
|
| 432 |
return "Analysis complete!", multi_plot, gr.Column(*accordion_items, visible=True)
|
| 433 |
|
| 434 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 435 |
# --- Build the Gradio App ---
|
| 436 |
-
with gr.Blocks(theme=gr.themes.
|
| 437 |
gr.Markdown("# 📊 Unified Stock Intelligence Dashboard")
|
| 438 |
gr.Markdown("An advanced tool for technical, sentiment, and predictive analysis of stocks.")
|
| 439 |
|
|
|
|
| 432 |
return "Analysis complete!", multi_plot, gr.Column(*accordion_items, visible=True)
|
| 433 |
|
| 434 |
|
| 435 |
+
# Custom CSS for better appearance
|
| 436 |
+
custom_css = """
|
| 437 |
+
.gradio-container {
|
| 438 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 439 |
+
}
|
| 440 |
+
.container {
|
| 441 |
+
max-width: 1200px;
|
| 442 |
+
margin: auto;
|
| 443 |
+
}
|
| 444 |
+
button#analyze-btn {
|
| 445 |
+
background-color: #003366;
|
| 446 |
+
color: white;
|
| 447 |
+
border: none;
|
| 448 |
+
}
|
| 449 |
+
"""
|
| 450 |
+
|
| 451 |
# --- Build the Gradio App ---
|
| 452 |
+
with gr.Blocks(theme=gr.themes.Monochrome(), css=custom_css), title="Stock Intelligence Dashboard") as demo:
|
| 453 |
gr.Markdown("# 📊 Unified Stock Intelligence Dashboard")
|
| 454 |
gr.Markdown("An advanced tool for technical, sentiment, and predictive analysis of stocks.")
|
| 455 |
|