Spaces:
Runtime error
Runtime error
changed: readme
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
-
title: GPT
|
3 |
-
emoji:
|
4 |
colorFrom: pink
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
|
|
1 |
---
|
2 |
+
title: GPT Jukebox
|
3 |
+
emoji: 📻
|
4 |
colorFrom: pink
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
app.py
CHANGED
@@ -5,15 +5,16 @@ import subprocess
|
|
5 |
subprocess.call("git lfs install", shell=True)
|
6 |
|
7 |
# %%
|
8 |
-
|
|
|
9 |
git_securet = os.environ["SECRET_GIT"]
|
10 |
git.Git().clone("https://%[email protected]/spaces/qosmoinc/ChatGPT-Composer.git" % git_securet)
|
11 |
|
|
|
|
|
12 |
app_dir = os.path.join(os.getcwd(), "ChatGPT-Composer")
|
13 |
print(app_dir)
|
14 |
|
15 |
-
# Run!
|
16 |
os.chdir(app_dir)
|
17 |
subprocess.call("python app.py", shell=True)
|
18 |
-
#exec(open("./ChatGPT-Composer/app.py").read())
|
19 |
# %%
|
|
|
5 |
subprocess.call("git lfs install", shell=True)
|
6 |
|
7 |
# %%
|
8 |
+
|
9 |
+
# Clone private repo
|
10 |
git_securet = os.environ["SECRET_GIT"]
|
11 |
git.Git().clone("https://%[email protected]/spaces/qosmoinc/ChatGPT-Composer.git" % git_securet)
|
12 |
|
13 |
+
|
14 |
+
# Run!
|
15 |
app_dir = os.path.join(os.getcwd(), "ChatGPT-Composer")
|
16 |
print(app_dir)
|
17 |
|
|
|
18 |
os.chdir(app_dir)
|
19 |
subprocess.call("python app.py", shell=True)
|
|
|
20 |
# %%
|