Spaces:
Sleeping
Sleeping
tarrasyed19472007
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ questions = [
|
|
23 |
# Function to query the Gemini API
|
24 |
def query_gemini_api(user_answers):
|
25 |
# Correct API URL
|
26 |
-
url =
|
27 |
|
28 |
headers = {'Content-Type': 'application/json'}
|
29 |
|
|
|
23 |
# Function to query the Gemini API
|
24 |
def query_gemini_api(user_answers):
|
25 |
# Correct API URL
|
26 |
+
url = "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:generateContent?key=AIzaSyCP1yUFUGmJqlcb2laZRXpqvJldTNEcSbQ"
|
27 |
|
28 |
headers = {'Content-Type': 'application/json'}
|
29 |
|