kinet-test / app.py
tree3po's picture
Update app.py
36e64ae verified
raw
history blame
779 Bytes
import os
import pprint
os.environ["HYDRA_FULL_ERROR"] = "1"
os.environ["PATH"].append(f'{os.getcwd}/Kinetix')
# Get the list of user's
env_var = os.environ
# Print the list of user's
print("User's Environment variable:")
pprint.pprint(dict(env_var), width = 1)
#os.system(f"""python kinetix/editor.py --config-path my_configs/ --config-name my_config""")
os.system(f"""python kinetix/editor.py --config-path ../Kinetix/configs/ --config-name editor""")
'''os.system(f"""cd Kinetix && pip install -e . &&
pre-commit install &&
export PATH=$PATH:{os.getcwd()}/Kinetix/kinetix &&
cd {os.getcwd()} && python {os.getcwd()}/Kinetix/kinetix/editor.py""")
#os.system(f"export PATH=$PATH:{os.getcwd()}/Kinetix/kinetix")
#os.system("cd Kinetix/kinetix && python editor.py")'''