Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ import gradio as gr
|
|
10 |
|
11 |
|
12 |
# Set up API keys
|
13 |
-
litellm.api_key =
|
14 |
-
os.environ['SERPER_API_KEY'] =
|
15 |
|
16 |
# Define the LLM
|
17 |
llm = "gemini/gemini-1.5-flash-exp-0827" # Your LLM model
|
|
|
10 |
|
11 |
|
12 |
# Set up API keys
|
13 |
+
litellm.api_key = os.getenv('GOOGLE_API_KEY')
|
14 |
+
os.environ['SERPER_API_KEY'] = os.getenv('SERPER_API_KEY')
|
15 |
|
16 |
# Define the LLM
|
17 |
llm = "gemini/gemini-1.5-flash-exp-0827" # Your LLM model
|