File size: 701 Bytes
a43ebb2
c3fd2ad
953bc84
 
e125994
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import os 
import pygbag
#import gradio as gr
#gr.HTML("""<iframe src='http://localhost:8000/'></iframe>""")
os.system("pygbag --port 7860 main.py ")

import os 
import pprint
#import asyncio
os.environ["HYDRA_FULL_ERROR"] = "1"
os.environ["PATH"] += 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) 
#async def main()
    #os.system(f"""python kinetix/editor.py --config-path my_configs/ --config-name my_config""")
os.system(f"""cd Kinetix && pygbag --port 7860 --bind 0.0.0.0 kinetix/editor.py --config-path ../configs/ --config-name editor""")
#asyncio.run(main())