Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ import time
|
|
17 |
load_dotenv()
|
18 |
|
19 |
# Configure API keys
|
20 |
-
GITHUB_TOKEN = "
|
21 |
-
GEMINI_API_KEY = "
|
22 |
|
23 |
if not GITHUB_TOKEN or not GEMINI_API_KEY:
|
24 |
raise ValueError("Both GITHUB_TOKEN and GEMINI_API_KEY must be set in environment")
|
@@ -27,7 +27,7 @@ if not GITHUB_TOKEN or not GEMINI_API_KEY:
|
|
27 |
gh = Github(GITHUB_TOKEN)
|
28 |
genai.configure(api_key=GEMINI_API_KEY)
|
29 |
model = genai.GenerativeModel(
|
30 |
-
model_name="gemini-
|
31 |
generation_config = {
|
32 |
"temperature": 1,
|
33 |
"top_p": 0.95,
|
|
|
17 |
load_dotenv()
|
18 |
|
19 |
# Configure API keys
|
20 |
+
GITHUB_TOKEN = "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"
|
21 |
+
GEMINI_API_KEY = "AIzaSyDPkNd-wD80KCpaeDPIEvuksfW-an6Ys5Q"
|
22 |
|
23 |
if not GITHUB_TOKEN or not GEMINI_API_KEY:
|
24 |
raise ValueError("Both GITHUB_TOKEN and GEMINI_API_KEY must be set in environment")
|
|
|
27 |
gh = Github(GITHUB_TOKEN)
|
28 |
genai.configure(api_key=GEMINI_API_KEY)
|
29 |
model = genai.GenerativeModel(
|
30 |
+
model_name="gemini-2.0-flash-exp",
|
31 |
generation_config = {
|
32 |
"temperature": 1,
|
33 |
"top_p": 0.95,
|