Spaces:
Running
on
Zero
Running
on
Zero
File size: 392 Bytes
b214db1 e824b83 b214db1 e824b83 b214db1 e824b83 b214db1 e824b83 57de9e5 86be499 57de9e5 86f2a58 c7a6542 29abda8 c7a6542 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
#!/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
@spaces.GPU(duration=120)
def test():
pass
subprocess.run(
['python', 'facefusion.py','run', '--execution-providers', 'cuda'],
stdout=subprocess.PIPE
) |