hafsaxoxo commited on
Commit
4a9f645
·
verified ·
1 Parent(s): 8657db5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -104,7 +104,8 @@ def process_input(user_input):
104
  else:
105
  return "❓ Try commands like:\n• Buy £100 of AAPL\n• Sell £50 of TSLA\n• Show portfolio"
106
 
107
- return f"⚠️ Error: {e}"
 
108
 
109
  update_portfolio_history()
110
 
 
104
  else:
105
  return "❓ Try commands like:\n• Buy £100 of AAPL\n• Sell £50 of TSLA\n• Show portfolio"
106
 
107
+ except:
108
+ return f"⚠️ Error: {e}"
109
 
110
  update_portfolio_history()
111