Update app.py
Browse files
app.py
CHANGED
@@ -2,14 +2,10 @@ import os
|
|
2 |
import shutil
|
3 |
import subprocess
|
4 |
|
5 |
-
# Clone the repository if not already present
|
6 |
-
if not os.path.exists("edge_vlm"):
|
7 |
-
subprocess.run(["git", "clone", "https://huggingface.co/irotem98/edge_vlm"])
|
8 |
|
9 |
-
|
10 |
subprocess.run(["pip", "install", "-r", "edge_vlm/requirements.txt"])
|
11 |
|
12 |
-
# Copy all files and folders from edge_vlm to the current directory
|
13 |
source_dir = "edge_vlm"
|
14 |
destination_dir = "."
|
15 |
|
|
|
2 |
import shutil
|
3 |
import subprocess
|
4 |
|
|
|
|
|
|
|
5 |
|
6 |
+
subprocess.run(["git", "clone", "https://huggingface.co/irotem98/edge_vlm"])
|
7 |
subprocess.run(["pip", "install", "-r", "edge_vlm/requirements.txt"])
|
8 |
|
|
|
9 |
source_dir = "edge_vlm"
|
10 |
destination_dir = "."
|
11 |
|