Spaces:
Running
on
Zero
Running
on
Zero
XXXXRT666
commited on
Commit
·
1a0bd1e
1
Parent(s):
7619997
- inference_webui.py +1 -0
- requirements.txt +0 -2
inference_webui.py
CHANGED
@@ -600,6 +600,7 @@ def get_tts_wav(
|
|
600 |
t.extend([t2 - t1, t3 - t2, t4 - t3])
|
601 |
t1 = ttime()
|
602 |
print("%.3f\t%.3f\t%.3f\t%.3f" % (t[0], sum(t[1::3]), sum(t[2::3]), sum(t[3::3])))
|
|
|
603 |
yield hps.data.sampling_rate, (np.concatenate(audio_opt, 0) * 32768).astype(np.int16)
|
604 |
|
605 |
|
|
|
600 |
t.extend([t2 - t1, t3 - t2, t4 - t3])
|
601 |
t1 = ttime()
|
602 |
print("%.3f\t%.3f\t%.3f\t%.3f" % (t[0], sum(t[1::3]), sum(t[2::3]), sum(t[3::3])))
|
603 |
+
gr.Info("%.3f\t%.3f\t%.3f\t%.3f" % (t[0], sum(t[1::3]), sum(t[2::3]), sum(t[3::3])), duration=4)
|
604 |
yield hps.data.sampling_rate, (np.concatenate(audio_opt, 0) * 32768).astype(np.int16)
|
605 |
|
606 |
|
requirements.txt
CHANGED
@@ -4,8 +4,6 @@ tensorboard==2.15.1
|
|
4 |
librosa==0.9.2
|
5 |
numba==0.56.4
|
6 |
pytorch-lightning>=2.4
|
7 |
-
gradio==4.44.1
|
8 |
-
gradio_client==1.3.0
|
9 |
ffmpeg-python==0.2.0
|
10 |
onnxruntime-gpu
|
11 |
tqdm==4.66.4
|
|
|
4 |
librosa==0.9.2
|
5 |
numba==0.56.4
|
6 |
pytorch-lightning>=2.4
|
|
|
|
|
7 |
ffmpeg-python==0.2.0
|
8 |
onnxruntime-gpu
|
9 |
tqdm==4.66.4
|