#!/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 )