pwilczewski
commited on
Commit
·
bf84430
1
Parent(s):
b90d8a8
Undoing test changes
Browse files
app.py
CHANGED
@@ -19,6 +19,19 @@ with gr.Blocks() as crisis_dashboard:
|
|
19 |
gr.Markdown("## <center>Largest bank performance</center>")
|
20 |
gr.DataFrame(largest_frame)
|
21 |
gr.Markdown("### <center>*performance since 3/8/2023</center>")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
#with gr.Tab("Fed Balance Sheet"):
|
23 |
#with gr.Tab("Bank Balance Sheets"):
|
24 |
|
|
|
19 |
gr.Markdown("## <center>Largest bank performance</center>")
|
20 |
gr.DataFrame(largest_frame)
|
21 |
gr.Markdown("### <center>*performance since 3/8/2023</center>")
|
22 |
+
with gr.Row():
|
23 |
+
with gr.Column():
|
24 |
+
gr.Markdown("## Failed banks")
|
25 |
+
gr.DataFrame(pd.DataFrame(list(zip(['SBNY','SIVB'], ['Signature Bank', 'SVB Financial Group'])), columns=['Ticker','Bank Name']))
|
26 |
+
with gr.Tab("Interest Rates"):
|
27 |
+
with gr.Row():
|
28 |
+
with gr.Column():
|
29 |
+
gr.Markdown("## <center>Treasury yield curve</center>")
|
30 |
+
gr.Plot(plot_treasury_curves(yc_frame))
|
31 |
+
with gr.Column():
|
32 |
+
gr.Markdown("## <center>Credit spreads</center>")
|
33 |
+
gr.Plot(plot_credit_spreads(spread_frame))
|
34 |
+
gr.Markdown("### <center>Data Source: FRED</center>")
|
35 |
#with gr.Tab("Fed Balance Sheet"):
|
36 |
#with gr.Tab("Bank Balance Sheets"):
|
37 |
|