Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -37,6 +37,7 @@ load_dotenv()
|
|
37 |
# ๐ 2. API Setup & Clients
|
38 |
openai_api_key = os.getenv('OPENAI_API_KEY', "")
|
39 |
anthropic_key = os.getenv('ANTHROPIC_API_KEY_3', "")
|
|
|
40 |
if 'OPENAI_API_KEY' in st.secrets:
|
41 |
openai_api_key = st.secrets['OPENAI_API_KEY']
|
42 |
if 'ANTHROPIC_API_KEY' in st.secrets:
|
|
|
37 |
# ๐ 2. API Setup & Clients
|
38 |
openai_api_key = os.getenv('OPENAI_API_KEY', "")
|
39 |
anthropic_key = os.getenv('ANTHROPIC_API_KEY_3', "")
|
40 |
+
xai_key = os.getenv('xai',"")
|
41 |
if 'OPENAI_API_KEY' in st.secrets:
|
42 |
openai_api_key = st.secrets['OPENAI_API_KEY']
|
43 |
if 'ANTHROPIC_API_KEY' in st.secrets:
|