osmunphotography
commited on
Commit
•
576f13b
1
Parent(s):
eae9401
Create subprocess
Browse files- subprocess +5 -0
subprocess
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import subprocess
|
2 |
+
|
3 |
+
# Run a Python script from the cloned repository
|
4 |
+
script_path = "Fooocus/your_script.py"
|
5 |
+
subprocess.run(["python", script_path])
|