Dmitry Beresnev commited on
Commit
3036bb1
Β·
1 Parent(s): aa8b2b0
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -87,7 +87,7 @@ with col1:
87
 
88
  # Display uploaded image
89
  image = Image.open(uploaded_file)
90
- st.image(image, caption=f"Screenshot {idx}: {uploaded_file.name}", use_column_width=True)
91
 
92
  # OCR processing
93
  with st.spinner(f"Extracting text from screenshot {idx}..."):
@@ -232,15 +232,15 @@ if st.session_state.portfolio_validated and st.session_state.portfolio_data:
232
 
233
  # Historical Prices
234
  st.subheader("πŸ“ˆ Historical Prices (Last 5 Days)")
235
- st.dataframe(metrics['prices'].tail(), use_column_width=True)
236
 
237
  # Returns
238
  with st.expander("πŸ“‰ Daily Log Returns (Last 5 Days)"):
239
- st.dataframe(metrics['returns'].tail(), use_column_width=True)
240
 
241
  # Covariance Matrix
242
  st.subheader("πŸ”’ Covariance Matrix (Annualized)")
243
- st.dataframe(metrics['cov_matrix'] * 252, use_column_width=True)
244
 
245
  st.divider()
246
 
 
87
 
88
  # Display uploaded image
89
  image = Image.open(uploaded_file)
90
+ st.image(image, caption=f"Screenshot {idx}: {uploaded_file.name}")
91
 
92
  # OCR processing
93
  with st.spinner(f"Extracting text from screenshot {idx}..."):
 
232
 
233
  # Historical Prices
234
  st.subheader("πŸ“ˆ Historical Prices (Last 5 Days)")
235
+ st.dataframe(metrics['prices'].tail())
236
 
237
  # Returns
238
  with st.expander("πŸ“‰ Daily Log Returns (Last 5 Days)"):
239
+ st.dataframe(metrics['returns'].tail())
240
 
241
  # Covariance Matrix
242
  st.subheader("πŸ”’ Covariance Matrix (Annualized)")
243
+ st.dataframe(metrics['cov_matrix'] * 252)
244
 
245
  st.divider()
246