tree3po commited on
Commit
e125994
·
verified ·
1 Parent(s): 860ad33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -1
app.py CHANGED
@@ -2,4 +2,20 @@ import os
2
  import pygbag
3
  #import gradio as gr
4
  #gr.HTML("""<iframe src='http://localhost:8000/'></iframe>""")
5
- os.system("pygbag --port 7860 main.py ")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  import pygbag
3
  #import gradio as gr
4
  #gr.HTML("""<iframe src='http://localhost:8000/'></iframe>""")
5
+ os.system("pygbag --port 7860 main.py ")
6
+
7
+ import os
8
+ import pprint
9
+ #import asyncio
10
+ os.environ["HYDRA_FULL_ERROR"] = "1"
11
+ os.environ["PATH"] += f'{os.getcwd}/Kinetix'
12
+ # Get the list of user's
13
+ env_var = os.environ
14
+
15
+ # Print the list of user's
16
+ print("User's Environment variable:")
17
+ pprint.pprint(dict(env_var), width = 1)
18
+ #async def main()
19
+ #os.system(f"""python kinetix/editor.py --config-path my_configs/ --config-name my_config""")
20
+ os.system(f"""cd Kinetix && pygbag --port 7860 --bind 0.0.0.0 kinetix/editor.py --config-path ../configs/ --config-name editor""")
21
+ #asyncio.run(main())