Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def initialize_gemini():
|
|
65 |
st.error(f"Failed to initialize Gemini AI: {e}")
|
66 |
return False
|
67 |
|
68 |
-
def generate_ai_response(prompt, simulate=
|
69 |
"""Generate text using Google's Gemini AI"""
|
70 |
if simulate:
|
71 |
return "AI response simulation: Based on your financial data, I recommend focusing on extending runway, accelerating revenue growth, and preparing for your next funding round."
|
|
|
65 |
st.error(f"Failed to initialize Gemini AI: {e}")
|
66 |
return False
|
67 |
|
68 |
+
def generate_ai_response(prompt, simulate=False):
|
69 |
"""Generate text using Google's Gemini AI"""
|
70 |
if simulate:
|
71 |
return "AI response simulation: Based on your financial data, I recommend focusing on extending runway, accelerating revenue growth, and preparing for your next funding round."
|