Commit
•
411cc33
1
Parent(s):
608c140
Update cloning/clonevoice.py
Browse files- cloning/clonevoice.py +1 -1
cloning/clonevoice.py
CHANGED
@@ -14,7 +14,7 @@ def clone_voice(audio_filepath, dest_filename, progress=gradio.Progress(track_tq
|
|
14 |
# if len(text) < 1:
|
15 |
# raise gradio.Error('No transcription text entered!')
|
16 |
|
17 |
-
use_gpu = not os.environ.get("BARK_FORCE_CPU", False)
|
18 |
progress(0, desc="Loading Codec")
|
19 |
model = load_codec_model(use_gpu=use_gpu)
|
20 |
|
|
|
14 |
# if len(text) < 1:
|
15 |
# raise gradio.Error('No transcription text entered!')
|
16 |
|
17 |
+
use_gpu = False # not os.environ.get("BARK_FORCE_CPU", False)
|
18 |
progress(0, desc="Loading Codec")
|
19 |
model = load_codec_model(use_gpu=use_gpu)
|
20 |
|