Spaces:
Runtime error
Runtime error
Update app.py
Browse files7 unmodified lines89101112131415167 unmodified linesfrom fpdf import FPDF# Update this to your new optimized Modal URLMODAL_URL = "https://devsam2898--personal-investment-strategist-optimized-web.modal.run/strategy"HEALTH_URL = "https://devsam2898--personal-investment-strategist-optimized-web.modal.run/health"TEST_URL = "https://devsam2898--personal-investment-strategist-optimized-web.modal.run/test"async def get_investment_strategy_async(age_group, income, expenses, current_assets, current_liabilities, risk_profile, goal, timeframe, country):"""Async version with better timeout handling and assets/liabilities support"""7 unmodified lines89101112131415167 unmodified linesfrom fpdf import FPDF# Update this to your new optimized Modal URLMODAL_URL = "https://devsam2898--personal-investment-strategist-fixed-web.modal.run/strategy"HEALTH_URL = "https://devsam2898--personal-investment-strategist-fixed-web.modal.run/health"TEST_URL = "https://devsam2898--personal-investment-strategist-fixed-web.modal.run/test"async def get_investment_strategy_async(age_group, income, expenses, current_assets, current_liabilities, risk_profile, goal, timeframe, country):"""Async version with better timeout handling and assets/liabilities support"""
app.py+3-3