lodhrangpt commited on
Commit
0cd5e35
·
verified ·
1 Parent(s): 330544a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import requests
6
 
7
  # Function to call the Groq API
8
  def call_groq_api(data, user_prompt):
9
- api_url = "https://your-real-groq-api-endpoint.com/modify"
10
  headers = {
11
  "Authorization": "Bearer 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", # Replace with your API token
12
  "Content-Type": "application/json"
 
6
 
7
  # Function to call the Groq API
8
  def call_groq_api(data, user_prompt):
9
+ api_url = "https://api.groq.com/openai/v1/audio/transcriptions"
10
  headers = {
11
  "Authorization": "Bearer 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", # Replace with your API token
12
  "Content-Type": "application/json"