E-slam's picture
Rename app.py to main.py
a99e97e verified
raw
history blame
384 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.system("python ESearch_FletV01/app.py")