Premo4153 commited on
Commit
9c9e3c4
·
verified ·
1 Parent(s): c820679

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -1,6 +1,8 @@
1
- #!/usr/bin/env python3
 
2
 
3
- from facefusion import core
 
4
 
5
- if __name__ == '__main__':
6
- core.cli()
 
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)