nasun commited on
Commit
1a69dbe
1 Parent(s): 3189695

init space

Browse files
Files changed (3) hide show
  1. .gitignore +1 -0
  2. app.py +12 -0
  3. requirements.txt +1 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ .idea
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ from git import Repo
3
+
4
+ url = '[email protected]:spaces/naverz/zmlops_diffusion_sample.git'
5
+ access_token = os.environ['AccessTokenToPrivate']
6
+ Repo.clone_from(f"https://nasun:{access_token}@hf.co:spaces/naverz/zmlops_diffusion_sample.git",
7
+ "./repo_directory")
8
+
9
+
10
+ print("Clone Done.")
11
+
12
+ import repo_directory.main as inside_code
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ gitpython