lodhrangpt commited on
Commit
dfbfcd7
·
verified ·
1 Parent(s): a0f6236

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -20,7 +20,8 @@ def custom_sent_tokenize(text):
20
  def transcribe(audio_path):
21
  with open(audio_path, "rb") as audio_file:
22
  audio_data = audio_file.read()
23
- groq_api_endpoint = "https://api.groq.com/openai/v1/audio/transcriptions"
 
24
  headers = {
25
  "Authorization": "Bearer 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", # Replace with your actual API key
26
  }
 
20
  def transcribe(audio_path):
21
  with open(audio_path, "rb") as audio_file:
22
  audio_data = audio_file.read()
23
+
24
+ groq_api_endpoint = "https://api.groq.com/openai/v1/audio/transcriptions"
25
  headers = {
26
  "Authorization": "Bearer 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", # Replace with your actual API key
27
  }