import os, runpy, subprocess if not os.path.isdir("repo"): subprocess.run(["git", "clone", "--depth", "1", "https://github.com/METANTROP-IA/Linear_Regression_Forecast", "repo"], check=True) runpy.run_path("repo/app.py")["demo"].launch()