siddhartharya commited on
Commit
868cf67
·
verified ·
1 Parent(s): d194d46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ if not GROQ_API_KEY:
73
 
74
  # Set OpenAI API key and base URL to use Groq Cloud API
75
  openai.api_key = GROQ_API_KEY
76
- openai.api_base = "https://api.groq.com/openai/v1/chat/completions" # Updated endpoint
77
 
78
  # Function to parse bookmarks from HTML
79
  def parse_bookmarks(file_content):
 
73
 
74
  # Set OpenAI API key and base URL to use Groq Cloud API
75
  openai.api_key = GROQ_API_KEY
76
+ openai.api_base = "https://api.groq.com/openai/v1" # Corrected API base URL
77
 
78
  # Function to parse bookmarks from HTML
79
  def parse_bookmarks(file_content):