Spaces:
Running
Running
Create setup.sh
Browse files
setup.sh
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
# setup.sh: Clone the smolagents repository if not already present.
|
3 |
+
|
4 |
+
# Check if the repository folder exists
|
5 |
+
if [ ! -d "smolagents" ]; then
|
6 |
+
echo "Cloning smolagents repository..."
|
7 |
+
git clone https://github.com/huggingface/smolagents.git
|
8 |
+
else
|
9 |
+
echo "smolagents repository already exists. Skipping clone."
|
10 |
+
fi
|