Spaces:
Runtime error
Runtime error
Create main.py
Browse files
main.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import pprint
|
3 |
+
import asyncio
|
4 |
+
os.environ["HYDRA_FULL_ERROR"] = "1"
|
5 |
+
os.environ["PATH"] += f'{os.getcwd}/Kinetix'
|
6 |
+
# Get the list of user's
|
7 |
+
env_var = os.environ
|
8 |
+
|
9 |
+
# Print the list of user's
|
10 |
+
print("User's Environment variable:")
|
11 |
+
pprint.pprint(dict(env_var), width = 1)
|
12 |
+
async def main()
|
13 |
+
#os.system(f"""python kinetix/editor.py --config-path my_configs/ --config-name my_config""")
|
14 |
+
os.system(f"""cd Kinetix && python kinetix/editor.py --config-path ../configs/ --config-name editor""")
|
15 |
+
asyncio.run(main())
|