naotokui's picture
simplified
3a66eee
raw
history blame contribute delete
381 Bytes
#%%
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)
# %%