Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 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
|
|
@@ -9,7 +9,7 @@ env_var = os.environ
|
|
| 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 |
-
|
| 15 |
-
asyncio.run(main())
|
|
|
|
| 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
|
|
|
|
| 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 && pygbag kinetix/editor.py --config-path ../configs/ --config-name editor""")
|
| 15 |
+
#asyncio.run(main())
|