Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
00f2696
1
Parent(s):
98e155e
add
Browse files
app.py
CHANGED
@@ -704,10 +704,13 @@ class BaseTrainer(object):
|
|
704 |
@spaces.GPU
|
705 |
def syntalker(audio_path,sample_stratege):
|
706 |
args = config.parse_args()
|
|
|
707 |
if sample_stratege==0:
|
708 |
args.use_ddim=True
|
709 |
elif sample_stratege==1:
|
710 |
args.use_ddim=False
|
|
|
|
|
711 |
print(sample_stratege)
|
712 |
print(args.use_ddim)
|
713 |
#os.environ['TRANSFORMERS_CACHE'] = args.data_path_1 + "hub/"
|
|
|
704 |
@spaces.GPU
|
705 |
def syntalker(audio_path,sample_stratege):
|
706 |
args = config.parse_args()
|
707 |
+
print("sample_stratege",sample_stratege)
|
708 |
if sample_stratege==0:
|
709 |
args.use_ddim=True
|
710 |
elif sample_stratege==1:
|
711 |
args.use_ddim=False
|
712 |
+
else:
|
713 |
+
args.use_ddim=True
|
714 |
print(sample_stratege)
|
715 |
print(args.use_ddim)
|
716 |
#os.environ['TRANSFORMERS_CACHE'] = args.data_path_1 + "hub/"
|