Update app.py
Browse files
app.py
CHANGED
|
@@ -297,8 +297,8 @@ def process_turn(
|
|
| 297 |
speaker=0,
|
| 298 |
context=history_segments_for_tts, # Use the prepared list of Segments on device
|
| 299 |
max_audio_length_ms=30_000, # Adjust as needed
|
| 300 |
-
temperature=0.
|
| 301 |
-
topk=
|
| 302 |
)
|
| 303 |
generated_audio_tensor_cpu = generated_audio_tensor_device.cpu()
|
| 304 |
print(f"TTS generation complete. Duration: {len(generated_audio_tensor_cpu)/SAMPLE_RATE:.2f}s")
|
|
|
|
| 297 |
speaker=0,
|
| 298 |
context=history_segments_for_tts, # Use the prepared list of Segments on device
|
| 299 |
max_audio_length_ms=30_000, # Adjust as needed
|
| 300 |
+
temperature=0.6,
|
| 301 |
+
topk=30
|
| 302 |
)
|
| 303 |
generated_audio_tensor_cpu = generated_audio_tensor_device.cpu()
|
| 304 |
print(f"TTS generation complete. Duration: {len(generated_audio_tensor_cpu)/SAMPLE_RATE:.2f}s")
|