Spaces:
Running
Running
File size: 445 Bytes
1ec044c 8fc9334 b1ed202 7a65003 fde3303 9b3cfc2 3c2a93b b1ed202 8fc9334 b1ed202 3c2a93b 1623472 8fc9334 5b59963 2e37069 cea9e80 c33c8af |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
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)
|