Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
import tempfile
|
6 |
|
7 |
# Set your AssemblyAI API key
|
8 |
-
aai.settings.api_key = os.
|
9 |
|
10 |
def create_assembly_transcript(audio_file):
|
11 |
transcriber = aai.Transcriber()
|
|
|
5 |
import tempfile
|
6 |
|
7 |
# Set your AssemblyAI API key
|
8 |
+
aai.settings.api_key = os.getenv('ASSEMBLYAI_API_KEY')
|
9 |
|
10 |
def create_assembly_transcript(audio_file):
|
11 |
transcriber = aai.Transcriber()
|