Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -257,7 +257,7 @@ def infer_batch(ref_audio, ref_text, gen_text_batches, exp_name, remove_silence,
|
|
| 257 |
duration = int(ref_audio_len * speed) + int(((ref_audio_len / ref_text_len) * gen_text_len) / speed)
|
| 258 |
|
| 259 |
# Print the calculated duration
|
| 260 |
-
print(f"Chunk {i + 1}: Duration: {duration}
|
| 261 |
|
| 262 |
|
| 263 |
|
|
|
|
| 257 |
duration = int(ref_audio_len * speed) + int(((ref_audio_len / ref_text_len) * gen_text_len) / speed)
|
| 258 |
|
| 259 |
# Print the calculated duration
|
| 260 |
+
print(f"Chunk {i + 1}: Duration: {duration} speed {speed}")
|
| 261 |
|
| 262 |
|
| 263 |
|