Spaces:
Running
Running
Update app.py
Browse files
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):
|