malavika-2016 commited on
Commit
1cf511a
·
verified ·
1 Parent(s): 0bdab09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from pydub import AudioSegment
9
  from google import genai
10
 
11
  # Configure Gemini API client
12
- client = genai.Client(api_key= aipi)
13
 
14
  # Async TTS function
15
  async def synthesize_speech(text, voice, output_path):
 
9
  from google import genai
10
 
11
  # Configure Gemini API client
12
+ client = genai.Client(api_key= os.getenv("aipi"))
13
 
14
  # Async TTS function
15
  async def synthesize_speech(text, voice, output_path):