E-slam's picture
Update main.py
c33c8af verified
raw
history blame
397 Bytes
import subprocess
subprocess.call(["pip", "install", "flet==0.19.0"])
subprocess.call(["pip", "install", "flet_fastapi==0.19.0"])
import os
import time
gh_token = os.getenv("gh_token")
url_with_token = "https://" + gh_token + "@github.com/Eslam-Magdy-1297/ESearch_FletV01.git"
os.system(f"git clone {url_with_token}")
time.sleep(10)
os.chdir("ESearch_FletV01")
os.system("python app.py")