Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files
app.py
CHANGED
|
@@ -249,7 +249,7 @@ with gr.Blocks(title="Chan Compass · US", **_style_kw) as demo:
|
|
| 249 |
detail_pick = gr.Dropdown(choices=[], label="Ticker", scale=2)
|
| 250 |
explain_btn = gr.Button("🤖 AI summary (local LLM)", scale=1)
|
| 251 |
detail_box = gr.Markdown(label="Raw read")
|
| 252 |
-
explain_box = gr.Markdown(elem_classes=["
|
| 253 |
with gr.Row():
|
| 254 |
sig_email = gr.Textbox(label="Email this summary to", scale=4,
|
| 255 |
placeholder="name@example.com (comma-separate for several)")
|
|
@@ -269,7 +269,7 @@ with gr.Blocks(title="Chan Compass · US", **_style_kw) as demo:
|
|
| 269 |
with gr.Row():
|
| 270 |
rot_5d = gr.Dataframe(label="5-Day (week trend)", interactive=False)
|
| 271 |
rot_20d = gr.Dataframe(label="20-Day (month trend)", interactive=False)
|
| 272 |
-
rot_ai = gr.Markdown(label="AI rotation narrative", elem_classes=["
|
| 273 |
with gr.Row():
|
| 274 |
rot_email = gr.Textbox(label="Email this narrative to", scale=4,
|
| 275 |
placeholder="name@example.com (comma-separate for several)")
|
|
@@ -286,7 +286,7 @@ with gr.Blocks(title="Chan Compass · US", **_style_kw) as demo:
|
|
| 286 |
save_btn = gr.Button("💾 Save holdings", scale=1)
|
| 287 |
news_btn = gr.Button("🔍 Check today's news", variant="primary", scale=1)
|
| 288 |
hold_status = gr.Markdown()
|
| 289 |
-
news_out = gr.Markdown(elem_classes=["
|
| 290 |
with gr.Row():
|
| 291 |
news_email = gr.Textbox(label="Email this news brief to", scale=4,
|
| 292 |
placeholder="name@example.com (comma-separate for several)")
|
|
@@ -304,7 +304,7 @@ with gr.Blocks(title="Chan Compass · US", **_style_kw) as demo:
|
|
| 304 |
res_in = gr.Textbox(label="Ticker", placeholder="e.g. NVDA", scale=3)
|
| 305 |
res_btn = gr.Button("🤖 Run research agent", variant="primary", scale=1)
|
| 306 |
res_progress = gr.Markdown()
|
| 307 |
-
res_out = gr.Markdown(elem_classes=["
|
| 308 |
with gr.Row():
|
| 309 |
res_email = gr.Textbox(label="Email this report to", scale=4,
|
| 310 |
placeholder="name@example.com (comma-separate for several)")
|
|
@@ -316,7 +316,7 @@ with gr.Blocks(title="Chan Compass · US", **_style_kw) as demo:
|
|
| 316 |
rep_pick = gr.Dropdown(choices=research_agent.list_reports(),
|
| 317 |
label="Saved reports", scale=3)
|
| 318 |
rep_open = gr.Button("📂 Open report", scale=1)
|
| 319 |
-
rep_view = gr.Markdown(
|
| 320 |
|
| 321 |
with gr.Tab("⏰ Automation"):
|
| 322 |
gr.Markdown(paths.storage_status())
|
|
|
|
| 249 |
detail_pick = gr.Dropdown(choices=[], label="Ticker", scale=2)
|
| 250 |
explain_btn = gr.Button("🤖 AI summary (local LLM)", scale=1)
|
| 251 |
detail_box = gr.Markdown(label="Raw read")
|
| 252 |
+
explain_box = gr.Markdown(elem_classes=["llm-out"])
|
| 253 |
with gr.Row():
|
| 254 |
sig_email = gr.Textbox(label="Email this summary to", scale=4,
|
| 255 |
placeholder="name@example.com (comma-separate for several)")
|
|
|
|
| 269 |
with gr.Row():
|
| 270 |
rot_5d = gr.Dataframe(label="5-Day (week trend)", interactive=False)
|
| 271 |
rot_20d = gr.Dataframe(label="20-Day (month trend)", interactive=False)
|
| 272 |
+
rot_ai = gr.Markdown(label="AI rotation narrative", elem_classes=["llm-out"])
|
| 273 |
with gr.Row():
|
| 274 |
rot_email = gr.Textbox(label="Email this narrative to", scale=4,
|
| 275 |
placeholder="name@example.com (comma-separate for several)")
|
|
|
|
| 286 |
save_btn = gr.Button("💾 Save holdings", scale=1)
|
| 287 |
news_btn = gr.Button("🔍 Check today's news", variant="primary", scale=1)
|
| 288 |
hold_status = gr.Markdown()
|
| 289 |
+
news_out = gr.Markdown(elem_classes=["llm-out"])
|
| 290 |
with gr.Row():
|
| 291 |
news_email = gr.Textbox(label="Email this news brief to", scale=4,
|
| 292 |
placeholder="name@example.com (comma-separate for several)")
|
|
|
|
| 304 |
res_in = gr.Textbox(label="Ticker", placeholder="e.g. NVDA", scale=3)
|
| 305 |
res_btn = gr.Button("🤖 Run research agent", variant="primary", scale=1)
|
| 306 |
res_progress = gr.Markdown()
|
| 307 |
+
res_out = gr.Markdown(elem_classes=["llm-out"])
|
| 308 |
with gr.Row():
|
| 309 |
res_email = gr.Textbox(label="Email this report to", scale=4,
|
| 310 |
placeholder="name@example.com (comma-separate for several)")
|
|
|
|
| 316 |
rep_pick = gr.Dropdown(choices=research_agent.list_reports(),
|
| 317 |
label="Saved reports", scale=3)
|
| 318 |
rep_open = gr.Button("📂 Open report", scale=1)
|
| 319 |
+
rep_view = gr.Markdown()
|
| 320 |
|
| 321 |
with gr.Tab("⏰ Automation"):
|
| 322 |
gr.Markdown(paths.storage_status())
|