Spaces:
Build error
Build error
Update app.py
Browse files1234567891011121314151617181920212223242526import os, sysos.system("pip install pyworld") # ==0.3.3
now_dir = os.getcwd()sys.path.append(now_dir)os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'os.environ["OPENBLAS_NUM_THREADS"] = "1"os.environ["no_proxy"] = "localhost, 127.0.0.1, ::1"
# Download modelsimport subprocessshell_script = './tools/dlmodels.sh'try: subprocess.run(shell_script, shell=True, check=True) print("Shell script executed successfully.")except subprocess.CalledProcessError as e: print(f"Error running shell script: {e}")except FileNotFoundError: print(f"Shell script not found: {shell_script}")except Exception as e: print(f"An error occurred: {e}")
import loggingimport shutilimport threadingapp.py+16