Spaces:
Running
Running
Update utils.py
Browse files
utils.py
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
import google.generativeai as genai
|
2 |
import os
|
3 |
|
4 |
-
genai.configure(api_key=os.getenv("gemini_token")
|
|
|
5 |
def call_ai_api(prompt):
|
6 |
# Set up the model
|
7 |
generation_config = {
|
|
|
1 |
import google.generativeai as genai
|
2 |
import os
|
3 |
|
4 |
+
genai.configure(api_key=os.getenv("gemini_token"))
|
5 |
+
|
6 |
def call_ai_api(prompt):
|
7 |
# Set up the model
|
8 |
generation_config = {
|