Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ openai.api_key = os.getenv('OPEN_AI_KEY')
|
|
11 |
hf_t_key = ('HF_TOKEN_KEY')
|
12 |
|
13 |
MODEL_NAME = "openai/whisper-small"
|
14 |
-
lang = "en
|
15 |
|
16 |
device = 0 if torch.cuda.is_available() else "cpu"
|
17 |
pipe = pipeline(
|
|
|
11 |
hf_t_key = ('HF_TOKEN_KEY')
|
12 |
|
13 |
MODEL_NAME = "openai/whisper-small"
|
14 |
+
lang = "en"
|
15 |
|
16 |
device = 0 if torch.cuda.is_available() else "cpu"
|
17 |
pipe = pipeline(
|