kathirog commited on
Commit
b3d5491
·
verified ·
1 Parent(s): 5650516

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ API_KEY = "AIzaSyAm0RSpUKY38494Fug8SPIpdHLXE2d3cps" # Replace with your Gemini
8
  MODEL_NAME = "gemini-2.0-flash" # Replace with your Gemini model name, e.g., "Gemini 2.0 flash"
9
 
10
  # API URL for Gemini 2.0 Flash
11
- API_URL = "https://api.gemini.com/v1/predict" # Example URL; make sure to replace with actual endpoint if different
12
 
13
  # Headers to pass the API Key
14
  headers = {"Authorization": f"Bearer {API_KEY}"}
 
8
  MODEL_NAME = "gemini-2.0-flash" # Replace with your Gemini model name, e.g., "Gemini 2.0 flash"
9
 
10
  # API URL for Gemini 2.0 Flash
11
+ API_URL = "https://generativelanguage.googleapis.com" # Example URL; make sure to replace with actual endpoint if different
12
 
13
  # Headers to pass the API Key
14
  headers = {"Authorization": f"Bearer {API_KEY}"}