Просмотр исходного кода

move data soft link (#1010)

* [feature]add dataset classs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [dev]combine agent and tts infer

* [feature]:update inference

* [feature]:update uv.lock

* [Merge]:merge upstream/main

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [fix]:remove unused files

* [fix]:remove unused files

* [fix]:remove unused files

* [fix]:fix infer bugs

* [docs]:update introduction and optinize front appearence

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [docs]:update README for OpenAudio-S1

* [docs]:update docs

* [docs]:Update video

* [docs]:fix video

* [docs]:fix video

* [fix]:fix timbre problem

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [fix]:remove unused files

* [fix]:move unused files

* [fix]:fix gitignore

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Whale and Dolphin 10 месяцев назад
Родитель
Сommit
e4d71110b7
3 измененных файлов с 6 добавлено и 25 удалено
  1. 6 6
      .gitignore
  2. 0 1
      data
  3. 0 18
      fish_speech/models/text2semantic/inference.py

+ 6 - 6
.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
 

+ 0 - 1
data

@@ -1 +0,0 @@
-/mnt/users/whaledolphin/data

+ 0 - 18
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(