kathirog commited on
Commit
b56f80b
·
verified ·
1 Parent(s): 9a917c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import speech_recognition as sr
5
 
6
  # Replace with your Gemini API Key and endpoint
7
  API_KEY = "AIzaSyAm0RSpUKY38494Fug8SPIpdHLXE2d3cps" # Replace with your actual API key
8
- API_URL = "https://generativelanguage.googleapis.com/v1alpha2/models/gemini2:generateText" # Adjust according to the Gemini API docs
9
 
10
  # Function to call Gemini API
11
  def call_gemini_api(message):
 
5
 
6
  # Replace with your Gemini API Key and endpoint
7
  API_KEY = "AIzaSyAm0RSpUKY38494Fug8SPIpdHLXE2d3cps" # Replace with your actual API key
8
+ API_URL = "https://generativelanguage.googleapis.com/v1alpha2/models/gemini2:generateText" # Gemini API URL
9
 
10
  # Function to call Gemini API
11
  def call_gemini_api(message):