Spaces:
Running
on
Zero
Running
on
Zero
pablovela5620
commited on
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -34,5 +34,7 @@ if __name__ == "__main__":
|
|
34 |
run_command(command=f"{PIXI_PATH} global install lsof")
|
35 |
# kill anything running on port 7860
|
36 |
run_command(command=f"{PIXI_PATH.parent}/lsof -t -i:7860 | xargs -r kill")
|
|
|
|
|
37 |
# run spaces app
|
38 |
run_command(command=f"{PIXI_PATH} run -e spaces app")
|
|
|
34 |
run_command(command=f"{PIXI_PATH} global install lsof")
|
35 |
# kill anything running on port 7860
|
36 |
run_command(command=f"{PIXI_PATH.parent}/lsof -t -i:7860 | xargs -r kill")
|
37 |
+
# clean current environment
|
38 |
+
run_command(command=f"{PIXI_PATH} clean")
|
39 |
# run spaces app
|
40 |
run_command(command=f"{PIXI_PATH} run -e spaces app")
|