E-slam's picture
Update main.py
cec2bc6 verified
raw
history blame
447 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)
files = os.listdir()
for file in files:
print(file)
os.system("python ESearch_FletV01/main.py")