ScaleupCFOAI commited on
Commit
18f157e
·
verified ·
1 Parent(s): 8715135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -446,11 +446,11 @@ Ask about:
446
  df_latest = load_data()
447
  latest = df_latest.iloc[-1]
448
 
449
- narrative_text = f"**Q:** {question[:40]}...
450
 
451
  **Period:** {latest['Month']}
452
  **Sales:** ₹{latest['Actual Sales (₹ Cr)']:.1f}Cr
453
- **Margin:** {latest['Gross Margin %']:.1f}%"
454
 
455
  return chat_history, "", narrative_text
456
 
 
446
  df_latest = load_data()
447
  latest = df_latest.iloc[-1]
448
 
449
+ narrative_text = f"""**Q:** {question[:40]}...
450
 
451
  **Period:** {latest['Month']}
452
  **Sales:** ₹{latest['Actual Sales (₹ Cr)']:.1f}Cr
453
+ **Margin:** {latest['Gross Margin %']:.1f}%"""
454
 
455
  return chat_history, "", narrative_text
456