From 5c92b2864f5492399961ed99a36eab3a891d0feb Mon Sep 17 00:00:00 2001 From: Rumah <93970226+Sewlell@users.noreply.github.com> Date: Fri, 5 Apr 2024 17:49:00 +0800 Subject: [PATCH] Update gradio_app.py --- gradio_app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gradio_app.py b/gradio_app.py index 4b816a2..11203fe 100644 --- a/gradio_app.py +++ b/gradio_app.py @@ -14,6 +14,8 @@ import numpy as np import random import uuid +os.chdir("/content/VoiceCraft-gradio-colab") +os.environ['USER'] = 'aaa' TMP_PATH = os.getenv("TMP_PATH", "./demo/temp") device = "cuda" if torch.cuda.is_available() else "cpu"