naotokui commited on
Commit
3a66eee
1 Parent(s): 5dfb3b8

simplified

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +0 -5
README.md CHANGED
@@ -6,7 +6,7 @@ colorTo: green
6
  sdk: gradio
7
  sdk_version: 3.21.0
8
  app_file: app.py
9
- pinned: false
10
  license: unlicense
11
  ---
12
 
 
6
  sdk: gradio
7
  sdk_version: 3.21.0
8
  app_file: app.py
9
+ pinned: true
10
  license: unlicense
11
  ---
12
 
app.py CHANGED
@@ -4,17 +4,12 @@ import os
4
  import subprocess
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://%s@huggingface.co/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
  # %%
 
4
  import subprocess
5
  subprocess.call("git lfs install", shell=True)
6
 
 
 
7
  # Clone private repo
8
  git_securet = os.environ["SECRET_GIT"]
9
  git.Git().clone("https://%s@huggingface.co/spaces/qosmoinc/ChatGPT-Composer.git" % git_securet)
10
 
 
11
  # Run!
12
  app_dir = os.path.join(os.getcwd(), "ChatGPT-Composer")
 
 
13
  os.chdir(app_dir)
14
  subprocess.call("python app.py", shell=True)
15
  # %%