Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,8 +4,8 @@ from typing import List, Tuple, Optional
|
|
| 4 |
import spaces
|
| 5 |
|
| 6 |
# Define the command to be executed
|
| 7 |
-
command = ["python", "setup.py", "build_ext", "--inplace"]
|
| 8 |
-
|
| 9 |
# Execute the command
|
| 10 |
result = subprocess.run(command, capture_output=True, text=True)
|
| 11 |
|
|
|
|
| 4 |
import spaces
|
| 5 |
|
| 6 |
# Define the command to be executed
|
| 7 |
+
# command = ["python", "setup.py", "build_ext", "--inplace"]
|
| 8 |
+
command = ["pip", "install", "--no-build-isolation", "-e", "."]
|
| 9 |
# Execute the command
|
| 10 |
result = subprocess.run(command, capture_output=True, text=True)
|
| 11 |
|