capradeepgujaran commited on
Commit
9ae85bb
·
verified ·
1 Parent(s): ce9ec39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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):