import subprocess import os import time subprocess.call(["pip", "install", "flet==0.23.2","--ignore-installed"]) #subprocess.call(["pip", "install", "flet_fastapi==0.19.0"]) gh_token = os.getenv("gh_token") url_with_token = f"https://{gh_token}@github.com/Eslam-Magdy-1297/ESearch_FletV01.git" os.system(f"git clone {url_with_token}") time.sleep(10) with open("ESearch_FletV01/app.py", "r") as file: code = file.read() exec(code)