alexnasa commited on
Commit
3ac7bb8
·
verified ·
1 Parent(s): 61f5c08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -0
app.py CHANGED
@@ -471,7 +471,29 @@ def update_demo(mode, smart_transcript, edit_word_mode, transcript, edit_from_wo
471
 
472
  def get_app():
473
  with gr.Blocks() as app:
 
 
 
 
 
 
 
 
 
 
 
 
 
474
 
 
 
 
 
 
 
 
 
 
475
  with gr.Row():
476
  with gr.Column(scale=2):
477
  input_audio = gr.Audio(value=f"{DEMO_PATH}/YOU1000000115_S0000252.wav", label="Input Audio", type="filepath", interactive=True)
 
471
 
472
  def get_app():
473
  with gr.Blocks() as app:
474
+ gr.Markdown("-- This is a duplicated space as the original space was broken --")
475
+ gr.Markdown("-- The description of the license is based of the original github page --")
476
+ gr.HTML("""
477
+ <div style="display:flex; column-gap:4px;">
478
+ <a href="https://github.com/jasonppy/VoiceCraft">
479
+ <img src="https://img.shields.io/badge/GitHub-VoiceCraft-blue?logo=github" alt="GitHub – VoiceCraft">
480
+ </a>
481
+ </div>
482
+ """)
483
+ gr.Markdown("## License")
484
+ gr.Markdown("The codebase is under CC BY-NC-SA 4.0 ([LICENSE-CODE](./LICENSE-CODE)), and the model weights are under Coqui Public Model License 1.0.0 ([LICENSE-MODEL](./LICENSE-MODEL)). Note that we use some of the code from other repository that are under different licenses: `./models/codebooks_patterns.py` is under MIT license; `./models/modules`, `./steps/optim.py`, `data/tokenizer.py` are under Apache License, Version 2.0; the phonemizer we used is under GNU 3.0 License.
485
+ ")
486
+
487
 
488
+
489
+ gr.HTML("""
490
+ <div style="display:flex;column-gap:4px;">
491
+ <a href="https://cslikai.cn/TIGER/">
492
+ <img src='https://img.shields.io/badge/Project-Page-green'>
493
+ </a>
494
+
495
+ </div>
496
+ """)
497
  with gr.Row():
498
  with gr.Column(scale=2):
499
  input_audio = gr.Audio(value=f"{DEMO_PATH}/YOU1000000115_S0000252.wav", label="Input Audio", type="filepath", interactive=True)