fcernafukuzaki commited on
Commit
c94a411
·
verified ·
1 Parent(s): d88e594

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -4,6 +4,9 @@ import numpy as np
4
  from google.cloud import speech_v1
5
  from google.protobuf import timestamp_pb2
6
 
 
 
 
7
  #transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-base.en")
8
 
9
  #def transcribe(audio_bytes):
 
4
  from google.cloud import speech_v1
5
  from google.protobuf import timestamp_pb2
6
 
7
+ import os
8
+ os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "./deploygpt-e9475e7c2c7c.json"
9
+
10
  #transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-base.en")
11
 
12
  #def transcribe(audio_bytes):