added demo link to readme

This commit is contained in:
mrq 2024-07-19 21:22:30 -05:00
parent 9ec88d9444
commit ba7ee8c0ee
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
# VALL'E
An unofficial PyTorch implementation of [VALL-E](https://valle-demo.github.io/), utilizing the [EnCodec](https://github.com/facebookresearch/encodec) encoder/decoder.
An unofficial PyTorch implementation of [VALL-E](https://vall-e-demo.ecker.tech/), utilizing the [EnCodec](https://github.com/facebookresearch/encodec) encoder/decoder.
## Requirements

View File

@ -120,7 +120,7 @@ def main():
entries = [
f'<tr><td>{text}</td>'+
"".join( [
f'<td><audio controls="controls" autobuffer="autobuffer"><source src="{str(audio).replace(str(args.demo_dir), args.audio_path_root) if args.audio_path_root else encode(audio)}"/></audio></td>'
f'<td><audio controls="controls" preload="none"><source src="{str(audio).replace(str(args.demo_dir), args.audio_path_root) if args.audio_path_root else encode(audio)}"/></audio></td>'
for audio in audios
] )+
'</tr>'
@ -190,7 +190,7 @@ def main():
samples = [
f'<tr><td>{text}</td>'+
"".join( [
f'<td><audio controls="controls" autobuffer="autobuffer"><source src="{str(audio).replace(str(args.demo_dir), args.audio_path_root) if args.audio_path_root else encode(audio)}"/></audio></td>'
f'<td><audio controls="controls" preload="none"><source src="{str(audio).replace(str(args.demo_dir), args.audio_path_root) if args.audio_path_root else encode(audio)}"/></audio></td>'
for audio in audios
] )+
'</tr>'