test
Browse files
app.py
CHANGED
|
@@ -178,6 +178,7 @@ def run_edit(audio_file, caption, num_steps, guidance_scale, guidance_rescale, s
|
|
| 178 |
from omegaconf import OmegaConf
|
| 179 |
from safetensors.torch import load_file
|
| 180 |
import diffusers.schedulers as noise_schedulers
|
|
|
|
| 181 |
torch.backends.cuda.matmul.allow_tf32 = False
|
| 182 |
torch.backends.cudnn.allow_tf32 = False
|
| 183 |
|
|
@@ -310,7 +311,7 @@ def build_demo():
|
|
| 310 |
# 示例 1 (原本的)
|
| 311 |
["./Ym8O802VvJes.wav", "Mix in dog barking around the middle."],
|
| 312 |
["./YDKM2KjNkX18.wav", "Incorporate Telephone bell ringing into the background."],
|
| 313 |
-
["./drop_audiocaps_1.wav", "
|
| 314 |
["./reorder_audiocaps_1.wav", "Switch the positions of the woman's voice and whistling."]
|
| 315 |
],
|
| 316 |
inputs=[audio_in, caption], # 对应上面列表的顺序:第一个是 Audio,第二个是 Textbox
|
|
|
|
| 178 |
from omegaconf import OmegaConf
|
| 179 |
from safetensors.torch import load_file
|
| 180 |
import diffusers.schedulers as noise_schedulers
|
| 181 |
+
logger.info("🚀 Starting ..")
|
| 182 |
torch.backends.cuda.matmul.allow_tf32 = False
|
| 183 |
torch.backends.cudnn.allow_tf32 = False
|
| 184 |
|
|
|
|
| 311 |
# 示例 1 (原本的)
|
| 312 |
["./Ym8O802VvJes.wav", "Mix in dog barking around the middle."],
|
| 313 |
["./YDKM2KjNkX18.wav", "Incorporate Telephone bell ringing into the background."],
|
| 314 |
+
["./drop_audiocaps_1.wav", "Erase the rain falling sound from the background."],
|
| 315 |
["./reorder_audiocaps_1.wav", "Switch the positions of the woman's voice and whistling."]
|
| 316 |
],
|
| 317 |
inputs=[audio_in, caption], # 对应上面列表的顺序:第一个是 Audio,第二个是 Textbox
|