mirror of
https://github.com/jasonppy/VoiceCraft.git
synced 2026-04-03 09:46:45 +02:00
configurable tmp path
This commit is contained in:
@@ -15,7 +15,7 @@ import random
|
||||
import uuid
|
||||
|
||||
|
||||
TMP_PATH = "./demo/temp"
|
||||
TMP_PATH = os.getenv("TMP_PATH", "./demo/temp")
|
||||
device = "cuda" if torch.cuda.is_available() else "cpu"
|
||||
whisper_model, align_model, voicecraft_model = None, None, None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user