MJSHIN0122 commited on
Commit
c12eeb3
1 Parent(s): 7d67e31

initialize app

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ from git import Repo
3
+ import sys
4
+
5
+ access_token = os.environ['AccessTokenToPrivate']
6
+ Repo.clone_from(f"https://MJSHIN0122:{access_token}@hf.co:spaces/MJSHIN0122/llm_tts_mjshin.git",
7
+ "./repo_directory")
8
+
9
+ print("Clone Done.")
10
+
11
+ sys.path.append(os.path.abspath("./repo_directory"))
12
+ import repo_directory.app as app