Karayakar commited on
Commit
cd39403
·
verified ·
1 Parent(s): 50f98b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,7 +12,7 @@ print(f"🚀 Running on device: {DEVICE}")
12
  MODEL = None
13
 
14
  def get_or_load_model():
15
- """Loads the ChatterboxTTS model if it hasn't been loaded already,
16
  and ensures it's on the correct device."""
17
  global MODEL
18
  if MODEL is None:
@@ -52,7 +52,7 @@ def generate_tts_audio(
52
  cfgw_input: float = 0.5
53
  ) -> tuple[int, np.ndarray]:
54
  """
55
- Generate high-quality speech audio from text using ChatterboxTTS model with optional reference audio styling.
56
 
57
  This tool synthesizes natural-sounding speech from input text. When a reference audio file
58
  is provided, it captures the speaker's voice characteristics and speaking style. The generated audio
@@ -97,7 +97,7 @@ def generate_tts_audio(
97
  with gr.Blocks() as demo:
98
  gr.Markdown(
99
  """
100
- # Chatterbox TTS Demo Türkçe * Karay Akar
101
  Yüksek kaliteli ses ve ses klonlama özellikleri ile.
102
  """
103
  )
 
12
  MODEL = None
13
 
14
  def get_or_load_model():
15
+ """Loads the TTS model if it hasn't been loaded already,
16
  and ensures it's on the correct device."""
17
  global MODEL
18
  if MODEL is None:
 
52
  cfgw_input: float = 0.5
53
  ) -> tuple[int, np.ndarray]:
54
  """
55
+ Generate high-quality speech audio from text using TTS model with optional reference audio styling.
56
 
57
  This tool synthesizes natural-sounding speech from input text. When a reference audio file
58
  is provided, it captures the speaker's voice characteristics and speaking style. The generated audio
 
97
  with gr.Blocks() as demo:
98
  gr.Markdown(
99
  """
100
+ # Karay Akar TTS Demo Türkçe (Chatterbox)*
101
  Yüksek kaliteli ses ve ses klonlama özellikleri ile.
102
  """
103
  )