Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,8 +47,11 @@ import subprocess
|
|
| 47 |
|
| 48 |
# install_cuda_toolkit()
|
| 49 |
|
|
|
|
|
|
|
|
|
|
| 50 |
# my_env = os.environ.copy()
|
| 51 |
-
|
| 52 |
|
| 53 |
|
| 54 |
# # tell Python to re-scan site-packages now that the egg-link exists
|
|
|
|
| 47 |
|
| 48 |
# install_cuda_toolkit()
|
| 49 |
|
| 50 |
+
!apt-get update
|
| 51 |
+
!apt-get install cuda-toolkit-12-6
|
| 52 |
+
|
| 53 |
# my_env = os.environ.copy()
|
| 54 |
+
subprocess.run(["pip", "install","diso"], check=True)
|
| 55 |
|
| 56 |
|
| 57 |
# # tell Python to re-scan site-packages now that the egg-link exists
|