Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
-
|
|
|
|
| 2 |
|
| 3 |
-
|
|
|
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import subprocess
|
| 3 |
|
| 4 |
+
python_executable = sys.executable # Jo bhi active Python hai usko detect karega
|
| 5 |
+
command = [python_executable, "facefusion.py", "run"]
|
| 6 |
|
| 7 |
+
print(f"🚀 Launching FaceFusion with {python_executable}...")
|
| 8 |
+
subprocess.run(command)
|