Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,9 +8,9 @@ from typing import Optional
|
|
| 8 |
from fpdf import FPDF
|
| 9 |
|
| 10 |
# Update this to your new optimized Modal URL
|
| 11 |
-
MODAL_URL = "https://devsam2898--personal-investment-strategist-
|
| 12 |
-
HEALTH_URL = "https://devsam2898--personal-investment-strategist-
|
| 13 |
-
TEST_URL = "https://devsam2898--personal-investment-strategist-
|
| 14 |
|
| 15 |
async def get_investment_strategy_async(age_group, income, expenses, current_assets, current_liabilities, risk_profile, goal, timeframe, country):
|
| 16 |
"""Async version with better timeout handling and assets/liabilities support"""
|
|
|
|
| 8 |
from fpdf import FPDF
|
| 9 |
|
| 10 |
# Update this to your new optimized Modal URL
|
| 11 |
+
MODAL_URL = "https://devsam2898--personal-investment-strategist-fixed-web.modal.run/strategy"
|
| 12 |
+
HEALTH_URL = "https://devsam2898--personal-investment-strategist-fixed-web.modal.run/health"
|
| 13 |
+
TEST_URL = "https://devsam2898--personal-investment-strategist-fixed-web.modal.run/test"
|
| 14 |
|
| 15 |
async def get_investment_strategy_async(age_group, income, expenses, current_assets, current_liabilities, risk_profile, goal, timeframe, country):
|
| 16 |
"""Async version with better timeout handling and assets/liabilities support"""
|