Spaces:
Running on Zero
Running on Zero
print output of download command
Browse files
utils/download_weights.py
CHANGED
|
@@ -26,6 +26,7 @@ def download_weights():
|
|
| 26 |
result = subprocess.run(cmd, shell=True, capture_output=True, text=True)
|
| 27 |
if result.returncode == 0:
|
| 28 |
print(f"{model} installed successfully.")
|
|
|
|
| 29 |
else:
|
| 30 |
print(f"Error installing {model}: {result.stderr}")
|
| 31 |
print(result.stdout)
|
|
|
|
| 26 |
result = subprocess.run(cmd, shell=True, capture_output=True, text=True)
|
| 27 |
if result.returncode == 0:
|
| 28 |
print(f"{model} installed successfully.")
|
| 29 |
+
print(result.stdout)
|
| 30 |
else:
|
| 31 |
print(f"Error installing {model}: {result.stderr}")
|
| 32 |
print(result.stdout)
|