Spaces:
Running
Running
Commit
·
6033e6c
1
Parent(s):
6a2808e
Update app.py
Browse files
app.py
CHANGED
@@ -40,9 +40,7 @@ Transcript: """
|
|
40 |
# whisper model specification
|
41 |
asr_model = whisper.load_model("tiny")
|
42 |
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
|
47 |
# Transcribe function
|
48 |
def transcribe(audio_file):
|
|
|
40 |
# whisper model specification
|
41 |
asr_model = whisper.load_model("tiny")
|
42 |
|
43 |
+
openai.api_key = os.environ["Openai_APIkey"]
|
|
|
|
|
44 |
|
45 |
# Transcribe function
|
46 |
def transcribe(audio_file):
|