Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -186,7 +186,7 @@ def analyze_stock(
|
|
| 186 |
|
| 187 |
try:
|
| 188 |
# Initialize Gemini client with your API key
|
| 189 |
-
client = genai.Client(api_key="
|
| 190 |
|
| 191 |
fundamentals, technicals, news, marketnews, stockFullname, country = get_stock_analysis(ticker, client)
|
| 192 |
prompt = create_analysis_prompt(persona, network, fundamentals, technicals, news, marketnews, ticker)
|
|
|
|
| 186 |
|
| 187 |
try:
|
| 188 |
# Initialize Gemini client with your API key
|
| 189 |
+
client = genai.Client(api_key="GOOGLE_GEMINI_API_KEY")
|
| 190 |
|
| 191 |
fundamentals, technicals, news, marketnews, stockFullname, country = get_stock_analysis(ticker, client)
|
| 192 |
prompt = create_analysis_prompt(persona, network, fundamentals, technicals, news, marketnews, ticker)
|