Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import io
|
|
7 |
|
8 |
# Load environment variables
|
9 |
GROQ_API_KEY = os.environ.get("GROQ_API_KEY")
|
10 |
-
GROQ_API_URL = "https://api.groq.com/v1/chat/completions"
|
11 |
|
12 |
def encode_image(image_path):
|
13 |
with open(image_path, "rb") as image_file:
|
|
|
7 |
|
8 |
# Load environment variables
|
9 |
GROQ_API_KEY = os.environ.get("GROQ_API_KEY")
|
10 |
+
GROQ_API_URL = "https://api.groq.com/openai/v1/chat/completions"
|
11 |
|
12 |
def encode_image(image_path):
|
13 |
with open(image_path, "rb") as image_file:
|