Spaces:
Build error
Build error
Commit
·
87f6bd6
1
Parent(s):
7ac31cd
dds
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import whisper
|
|
5 |
from huggingface_hub import snapshot_download
|
6 |
import torch
|
7 |
import subprocess
|
8 |
-
import transformers
|
9 |
|
10 |
# --- Aggressively update/install transformers and huggingface_hub BEFORE importing them ---
|
11 |
print('Attempting to upgrade pip, transformers, and huggingface_hub...')
|
|
|
5 |
from huggingface_hub import snapshot_download
|
6 |
import torch
|
7 |
import subprocess
|
8 |
+
import transformers
|
9 |
|
10 |
# --- Aggressively update/install transformers and huggingface_hub BEFORE importing them ---
|
11 |
print('Attempting to upgrade pip, transformers, and huggingface_hub...')
|