osmunphotography commited on
Commit
726e621
·
verified ·
1 Parent(s): 87eb3ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -5,4 +5,11 @@ def greet(name):
5
 
6
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
  iface.launch()
8
- git clone https://huggingface.co/spaces/osmunphotography/Nf
 
 
 
 
 
 
 
 
5
 
6
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
  iface.launch()
8
+ git clone https://huggingface.co/spaces/osmunphotography/Nf
9
+ import subprocess
10
+
11
+ try:
12
+ # Run the git clone command
13
+ subprocess.run(["git", "clone", "https://huggingface.co/spaces/osmunphotography/Nf"], check=True)
14
+ except subprocess.CalledProcessError as e:
15
+ print(f"Error occurred: {e}")