Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import os
|
|
4 |
|
5 |
# Set OpenAI API Key
|
6 |
openai.api_key = os.getenv("TRY_NEW_THINGS")
|
7 |
-
openai.api_base = "https://api.
|
8 |
|
9 |
# Function to get response from OpenAI API
|
10 |
def get_groq_response(message, category):
|
|
|
4 |
|
5 |
# Set OpenAI API Key
|
6 |
openai.api_key = os.getenv("TRY_NEW_THINGS")
|
7 |
+
openai.api_base = "https://api.groq.com/openai/v1"
|
8 |
|
9 |
# Function to get response from OpenAI API
|
10 |
def get_groq_response(message, category):
|