Spaces:
Runtime error
Runtime error
File size: 381 Bytes
5b79720 5dfb3b8 5b79720 5dfb3b8 5b79720 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#%%
import git
import os
import subprocess
subprocess.call("git lfs install", shell=True)
# Clone private repo
git_securet = os.environ["SECRET_GIT"]
git.Git().clone("https://%[email protected]/spaces/qosmoinc/ChatGPT-Composer.git" % git_securet)
# Run!
app_dir = os.path.join(os.getcwd(), "ChatGPT-Composer")
os.chdir(app_dir)
subprocess.call("python app.py", shell=True)
# %%
|