Spaces:
Running
Running
File size: 397 Bytes
1ec044c b1ed202 0116367 f1bf5c1 9b3cfc2 1ec044c b1ed202 3c2a93b b1ed202 3c2a93b b1ed202 3c2a93b 1ec044c 1623472 c33c8af |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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") |