Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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://
|
| 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"
|