Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,6 @@ def financial_planning(prompt, api_key):
|
|
18 |
)
|
19 |
for chunk in response:
|
20 |
stream = chunk.choices[0].delta.content
|
21 |
-
yield stream
|
22 |
yield stream
|
23 |
|
24 |
def generate_advice(name, age, income, expenses, savings, debts, investment_preferences, risk_tolerance, retirement_age, retirement_savings_goal, short_term_goals, long_term_goals, dependents, health_expenses, education_expenses, insurance_policies, major_purchases, emergency_fund, annual_income_growth, annual_expense_growth, currency, api_key):
|
|
|
18 |
)
|
19 |
for chunk in response:
|
20 |
stream = chunk.choices[0].delta.content
|
|
|
21 |
yield stream
|
22 |
|
23 |
def generate_advice(name, age, income, expenses, savings, debts, investment_preferences, risk_tolerance, retirement_age, retirement_savings_goal, short_term_goals, long_term_goals, dependents, health_expenses, education_expenses, insurance_policies, major_purchases, emergency_fund, annual_income_growth, annual_expense_growth, currency, api_key):
|