Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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}")
|