Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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" #
|
| 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):
|