Spaces:
Running
on
Zero
Running
on
Zero
#!/usr/bin/env python3 | |
# import os | |
# os.environ['OMP_NUM_THREADS'] = '1' | |
# from facefusion import core | |
# if __name__ == '__main__': | |
# core.cli() | |
# import facefusion.uis.core as ui | |
# ui.launch() | |
import spaces | |
import subprocess | |
def test(): | |
pass | |
subprocess.run( | |
['python', 'facefusion.py','run', '--execution-providers', 'cuda'], | |
stdout=subprocess.PIPE | |
) |