alexnasa commited on
Commit
f6fd80f
·
verified ·
1 Parent(s): 4754c0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -19
app.py CHANGED
@@ -471,15 +471,9 @@ 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
- 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)), "
485
  "and the model weights are under Coqui Public Model License 1.0.0 ([LICENSE-MODEL](./LICENSE-MODEL)). "
@@ -487,17 +481,14 @@ def get_app():
487
  "`./models/codebooks_patterns.py` is under MIT license; "
488
  "`./models/modules`, `./steps/optim.py`, `data/tokenizer.py` are under Apache License, Version 2.0; "
489
  "the phonemizer we used is under GNU 3.0 License.")
490
-
491
-
492
-
493
  gr.HTML("""
494
- <div style="display:flex;column-gap:4px;">
495
- <a href="https://cslikai.cn/TIGER/">
496
- <img src='https://img.shields.io/badge/Project-Page-green'>
497
- </a>
498
-
499
- </div>
500
- """)
501
  with gr.Row():
502
  with gr.Column(scale=2):
503
  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
+
 
 
 
 
 
 
477
  gr.Markdown("## License")
478
  gr.Markdown("The codebase is under CC BY-NC-SA 4.0 ([LICENSE-CODE](./LICENSE-CODE)), "
479
  "and the model weights are under Coqui Public Model License 1.0.0 ([LICENSE-MODEL](./LICENSE-MODEL)). "
 
481
  "`./models/codebooks_patterns.py` is under MIT license; "
482
  "`./models/modules`, `./steps/optim.py`, `data/tokenizer.py` are under Apache License, Version 2.0; "
483
  "the phonemizer we used is under GNU 3.0 License.")
484
+
 
 
485
  gr.HTML("""
486
+ <div style="display:flex; column-gap:4px;">
487
+ <a href="https://github.com/jasonppy/VoiceCraft">
488
+ <img src="https://img.shields.io/badge/GitHub-VoiceCraft-blue?logo=github" alt="GitHub – VoiceCraft">
489
+ </a>
490
+ </div>
491
+ """)
 
492
  with gr.Row():
493
  with gr.Column(scale=2):
494
  input_audio = gr.Audio(value=f"{DEMO_PATH}/YOU1000000115_S0000252.wav", label="Input Audio", type="filepath", interactive=True)