Spaces:
Running
on
Zero
Running
on
Zero
Update Echox_copy_stream.py
Browse files- Echox_copy_stream.py +1 -0
Echox_copy_stream.py
CHANGED
|
@@ -406,6 +406,7 @@ class EchoxAssistant():
|
|
| 406 |
if should_segment:
|
| 407 |
segment_end_idx = check_idx + 1
|
| 408 |
print(f"Segmenting at step {segment_end_idx-1}, similarity={similarity_at_check:.4f}. Submitting to background audio generation.")
|
|
|
|
| 409 |
|
| 410 |
segment_hidden_states = torch.stack(
|
| 411 |
accumulated_hidden_states[segment_start_idx:segment_end_idx], dim=0
|
|
|
|
| 406 |
if should_segment:
|
| 407 |
segment_end_idx = check_idx + 1
|
| 408 |
print(f"Segmenting at step {segment_end_idx-1}, similarity={similarity_at_check:.4f}. Submitting to background audio generation.")
|
| 409 |
+
print(f"### {self.cosyvoice_tts}")
|
| 410 |
|
| 411 |
segment_hidden_states = torch.stack(
|
| 412 |
accumulated_hidden_states[segment_start_idx:segment_end_idx], dim=0
|