littlebird13 commited on
Commit
bb80b9a
·
verified ·
1 Parent(s): bf40aee

Upload folder using huggingface_hub

Browse files
app.py CHANGED
@@ -184,10 +184,12 @@ def build_ui():
184
  gr.Markdown(
185
  """
186
  # Qwen3-TTS Demo
 
187
  A unified Text-to-Speech demo featuring three powerful modes:
188
  - **Voice Design**: Create custom voices using natural language descriptions
189
  - **Voice Clone (Base)**: Clone any voice from a reference audio
190
  - **TTS (CustomVoice)**: Generate speech with predefined speakers and optional style instructions
 
191
  Built with [Qwen3-TTS](https://github.com/QwenLM/Qwen3-TTS) by Alibaba Qwen Team.
192
  """
193
  )
@@ -329,6 +331,7 @@ Built with [Qwen3-TTS](https://github.com/QwenLM/Qwen3-TTS) by Alibaba Qwen Team
329
  gr.Markdown(
330
  """
331
  ---
 
332
  **Note**: This demo uses HuggingFace Spaces Zero GPU. Each generation has a time limit.
333
  For longer texts, please split them into smaller segments.
334
  """
@@ -339,4 +342,4 @@ For longer texts, please split them into smaller segments.
339
 
340
  if __name__ == "__main__":
341
  demo = build_ui()
342
- demo.launch()
 
184
  gr.Markdown(
185
  """
186
  # Qwen3-TTS Demo
187
+
188
  A unified Text-to-Speech demo featuring three powerful modes:
189
  - **Voice Design**: Create custom voices using natural language descriptions
190
  - **Voice Clone (Base)**: Clone any voice from a reference audio
191
  - **TTS (CustomVoice)**: Generate speech with predefined speakers and optional style instructions
192
+
193
  Built with [Qwen3-TTS](https://github.com/QwenLM/Qwen3-TTS) by Alibaba Qwen Team.
194
  """
195
  )
 
331
  gr.Markdown(
332
  """
333
  ---
334
+
335
  **Note**: This demo uses HuggingFace Spaces Zero GPU. Each generation has a time limit.
336
  For longer texts, please split them into smaller segments.
337
  """
 
342
 
343
  if __name__ == "__main__":
344
  demo = build_ui()
345
+ demo.launch()
qwen_tts/cli/demo.py CHANGED
@@ -630,4 +630,4 @@ def main(argv=None) -> int:
630
 
631
 
632
  if __name__ == "__main__":
633
- raise SystemExit(main())
 
630
 
631
 
632
  if __name__ == "__main__":
633
+ raise SystemExit(main())
qwen_tts/core/models/modeling_qwen3_tts.py CHANGED
@@ -2243,4 +2243,4 @@ __all__ = [
2243
  "Qwen3TTSTalkerForConditionalGeneration",
2244
  "Qwen3TTSPreTrainedModel",
2245
  "Qwen3TTSTalkerModel",
2246
- ]
 
2243
  "Qwen3TTSTalkerForConditionalGeneration",
2244
  "Qwen3TTSPreTrainedModel",
2245
  "Qwen3TTSTalkerModel",
2246
+ ]
qwen_tts/inference/qwen3_tts_model.py CHANGED
@@ -871,4 +871,4 @@ class Qwen3TTSModel:
871
  supported = self._supported_languages_set()
872
  if supported is None:
873
  return None
874
- return sorted(supported)
 
871
  supported = self._supported_languages_set()
872
  if supported is None:
873
  return None
874
+ return sorted(supported)
requirements.txt CHANGED
@@ -10,5 +10,4 @@ sox
10
  onnxruntime
11
  spaces
12
  torch
13
- numpy
14
- kernels
 
10
  onnxruntime
11
  spaces
12
  torch
13
+ numpy