Plachta commited on
Commit
2f0e1c9
·
verified ·
1 Parent(s): d1b028b

Update app_v1v2.py

Browse files
Files changed (1) hide show
  1. app_v1v2.py +4 -4
app_v1v2.py CHANGED
@@ -21,7 +21,7 @@ if hasattr(torch._inductor.config, "fx_graph_cache"):
21
  # Experimental feature to reduce compilation times, will be on by default in future
22
  torch._inductor.config.fx_graph_cache = True
23
 
24
- dtype = torch.float16
25
 
26
  # Global variables to store model instances
27
  vc_wrapper_v1 = None
@@ -192,9 +192,9 @@ def create_v2_interface(vc_wrapper):
192
  ]
193
 
194
  examples = [
195
- ["examples/source/yae_0.wav", "examples/reference/dingzhen_0.wav", 25, 1.0, 0.0, 0.7, 0.9, 1.0, 1.0, False,
196
  False],
197
- ["examples/source/jay_0.wav", "examples/reference/azuma_0.wav", 25, 1.0, 0.0, 0.7, 0.9, 1.0, 1.0, False, False],
198
  ]
199
 
200
  outputs = [
@@ -238,6 +238,6 @@ def main(args):
238
 
239
  if __name__ == "__main__":
240
  parser = argparse.ArgumentParser()
241
- parser.add_argument("--compile", type=bool, default=True)
242
  args = parser.parse_args()
243
  main(args)
 
21
  # Experimental feature to reduce compilation times, will be on by default in future
22
  torch._inductor.config.fx_graph_cache = True
23
 
24
+ dtype = torch.float32
25
 
26
  # Global variables to store model instances
27
  vc_wrapper_v1 = None
 
192
  ]
193
 
194
  examples = [
195
+ ["examples/source/yae_0.wav", "examples/reference/dingzhen_0.wav", 25, 1.0, 0.0, 0.7, 0.9, 1.0, 1.0, True,
196
  False],
197
+ ["examples/source/jay_0.wav", "examples/reference/azuma_0.wav", 25, 1.0, 0.0, 0.7, 0.9, 1.0, 1.0, True, False],
198
  ]
199
 
200
  outputs = [
 
238
 
239
  if __name__ == "__main__":
240
  parser = argparse.ArgumentParser()
241
+ parser.add_argument("--compile", type=bool, default=False)
242
  args = parser.parse_args()
243
  main(args)