Skip to content

SOTA Open Source TTS

move data soft link (#1010)

Whale and Dolphine4d71110b7fe
diff --git a/.gitignore b/.gitignore
index 74cf03a..d5e986b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,12 +62,12 @@ venv.bak/
# Data and Model Files
# --------------------
-/data/
-/results/
-/checkpoints/
-/references/
-/demo-audios/
-/example/
+data/
+results/
+checkpoints/
+references/
+demo-audios/
+example/
filelists/
*.filelist
diff --git a/data b/data
deleted file mode 120000
index d2057cf..0000000
--- a/data
+++ /dev/null
@@ -1 +0,0 @@
-/mnt/users/whaledolphin/data
\ No newline at end of file
diff --git a/fish_speech/models/text2semantic/inference.py b/fish_speech/models/text2semantic/inference.py
index 60f01aa..853b24d 100644
--- a/fish_speech/models/text2semantic/inference.py
+++ b/fish_speech/models/text2semantic/inference.py
@@ -365,24 +365,6 @@ def generate_long(
texts = split_text(text, chunk_length) if iterative_prompt else [text]
max_length = model.config.max_seq_len
- # if use_prompt:
- # base_content_sequence.append(
- # [
- # TextPart(text=prompt_text[0]),
- # VQPart(codes=prompt_tokens[0]),
- # ],
- # add_end=True,
- # )
-
- # for text in texts:
- # content_sequence = ContentSequence(modality=None)
- # base_content_sequence.append(
- # [
- # TextPart(text=text),
- # ],
- # add_end=True,
- # )
-
if use_prompt:
for t, c in zip(prompt_text, prompt_tokens):
base_content_sequence.append(