Spaces:
Running
Running
File size: 384 Bytes
60a8797 038f008 60a8797 038f008 |
1 2 3 4 5 6 7 8 9 10 |
import subprocess
def setup_imaginepy():
#subprocess.run(["git", "clone", "https://github.com/ItsCEED/Imaginepy"])
subprocess.Popen("git clone https://github.com/ItsCEED/Imaginepy && cd Imaginepy && python -m venv env && source env/bin/activate && python setup.py install", shell=True)
subprocess.run(["cd", ".."])
setup_imaginepy()
subprocess.run(["python", "app.py"])
|