Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -477,7 +477,7 @@ async def process_input(input_text: str, input_file, language: str, speaker1: st
|
|
477 |
progress(0.05, "Processing input...")
|
478 |
|
479 |
if not api_key:
|
480 |
-
api_key =
|
481 |
if not api_key:
|
482 |
raise Exception("No API key provided. Please provide a Gemini API key.")
|
483 |
|
|
|
477 |
progress(0.05, "Processing input...")
|
478 |
|
479 |
if not api_key:
|
480 |
+
api_key = "saf" # os.getenv("GENAI_API_KEY")
|
481 |
if not api_key:
|
482 |
raise Exception("No API key provided. Please provide a Gemini API key.")
|
483 |
|