update
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def _ensure_versions():
|
|
| 20 |
pass
|
| 21 |
|
| 22 |
if not hub_ok:
|
| 23 |
-
subprocess.
|
| 24 |
"install", "huggingface-hub==0.27.1",
|
| 25 |
"transformers==4.48.0",
|
| 26 |
"--force-reinstall", "--no-deps"])
|
|
|
|
| 20 |
pass
|
| 21 |
|
| 22 |
if not hub_ok:
|
| 23 |
+
subprocess.check_call([sys.executable, "-m", "pip",
|
| 24 |
"install", "huggingface-hub==0.27.1",
|
| 25 |
"transformers==4.48.0",
|
| 26 |
"--force-reinstall", "--no-deps"])
|