Ifeanyi commited on
Commit
a985eac
1 Parent(s): 8fd768e

Update script.py

Browse files
Files changed (1) hide show
  1. script.py +2 -2
script.py CHANGED
@@ -3,12 +3,12 @@ import google.generativeai as genai
3
  import os
4
 
5
  def audioTranscribe(audio_file,translation):
6
- gemini_api_key = os.getenv(GEMINI_API_KEY)
7
  genai.configure(api_key=gemini_api_key)
8
 
9
  model = genai.GenerativeModel("gemini-1.5-pro-002")
10
 
11
- aai_api_key = os.getenv(ASSEMBLYAI_API_KEY)
12
  aai.settings.api_key = aai_api_key
13
 
14
  transcriber = aai.Transcriber()
 
3
  import os
4
 
5
  def audioTranscribe(audio_file,translation):
6
+ gemini_api_key = os.getenv("GEMINI_API_KEY")
7
  genai.configure(api_key=gemini_api_key)
8
 
9
  model = genai.GenerativeModel("gemini-1.5-pro-002")
10
 
11
+ aai_api_key = os.getenv("ASSEMBLYAI_API_KEY")
12
  aai.settings.api_key = aai_api_key
13
 
14
  transcriber = aai.Transcriber()