mrfakename commited on
Commit
4f8f463
·
verified ·
1 Parent(s): daaf1ba

Sync from GitHub repo

Browse files

This Space is synced from the GitHub repo: https://github.com/SWivid/F5-TTS. Please submit contributions to the Space there

Files changed (2) hide show
  1. pyproject.toml +1 -1
  2. src/f5_tts/infer/infer_cli.py +1 -1
pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
 
5
  [project]
6
  name = "f5-tts"
7
- version = "0.3.2"
8
  description = "F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching"
9
  readme = "README.md"
10
  license = {text = "MIT License"}
 
4
 
5
  [project]
6
  name = "f5-tts"
7
+ version = "0.3.3"
8
  description = "F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching"
9
  readme = "README.md"
10
  license = {text = "MIT License"}
src/f5_tts/infer/infer_cli.py CHANGED
@@ -178,7 +178,7 @@ ckpt_file = args.ckpt_file or config.get("ckpt_file", "")
178
  vocab_file = args.vocab_file or config.get("vocab_file", "")
179
 
180
  ref_audio = args.ref_audio or config.get("ref_audio", "infer/examples/basic/basic_ref_en.wav")
181
- ref_text = args.ref_text or config.get("ref_text", "Some call me nature, others call me mother nature.")
182
  gen_text = args.gen_text or config.get("gen_text", "Here we generate something just for test.")
183
  gen_file = args.gen_file or config.get("gen_file", "")
184
 
 
178
  vocab_file = args.vocab_file or config.get("vocab_file", "")
179
 
180
  ref_audio = args.ref_audio or config.get("ref_audio", "infer/examples/basic/basic_ref_en.wav")
181
+ ref_text = args.ref_text if args.ref_text is not None else config.get("ref_text", "Some call me nature, others call me mother nature.")
182
  gen_text = args.gen_text or config.get("gen_text", "Here we generate something just for test.")
183
  gen_file = args.gen_file or config.get("gen_file", "")
184