Spaces:
Runtime error
Runtime error
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()) | |