Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from huggingface_hub import model_info
|
|
10 |
openai.api_key = os.getenv('OPEN_AI_KEY')
|
11 |
hf_t_key = ('HF_TOKEN_KEY')
|
12 |
|
13 |
-
MODEL_NAME = "openai/whisper-
|
14 |
lang = "en"
|
15 |
|
16 |
device = 0 if torch.cuda.is_available() else "cpu"
|
|
|
10 |
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"
|