Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,8 @@ load_dotenv()
|
|
14 |
|
15 |
# Initialize Groq client
|
16 |
client = Groq(
|
17 |
-
api_key=os.environ.get("GROQ_API_KEY")
|
|
|
18 |
)
|
19 |
|
20 |
def encode_image_to_base64(image_path):
|
|
|
14 |
|
15 |
# Initialize Groq client
|
16 |
client = Groq(
|
17 |
+
api_key=os.environ.get("GROQ_API_KEY", ""),
|
18 |
+
base_url="https://api.groq.com/openai/v1"
|
19 |
)
|
20 |
|
21 |
def encode_image_to_base64(image_path):
|