Hecheng0625 commited on
Commit
f7a7aff
1 Parent(s): 47464b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import spaces
 
2
  import gradio as gr
3
  import torch
4
  import safetensors
@@ -364,7 +365,17 @@ iface = gr.Interface(
364
  ],
365
  outputs=gr.Audio(label="Generated Audio"),
366
  title="MaskGCT TTS Demo",
367
- description="Generate speech from text using the MaskGCT model.",
 
 
 
 
 
 
 
 
 
 
368
  )
369
 
370
  # Launch the interface
 
1
  import spaces
2
+ import accelerate
3
  import gradio as gr
4
  import torch
5
  import safetensors
 
365
  ],
366
  outputs=gr.Audio(label="Generated Audio"),
367
  title="MaskGCT TTS Demo",
368
+ description="""
369
+ ## MaskGCT: Zero-Shot Text-to-Speech with Masked Generative Codec Transformer
370
+
371
+ [![arXiv](https://img.shields.io/badge/arXiv-Paper-COLOR.svg)](https://arxiv.org/abs/2409.00750)
372
+
373
+ [![hf](https://img.shields.io/badge/%F0%9F%A4%97%20HuggingFace-model-yellow)](https://huggingface.co/amphion/maskgct)
374
+
375
+ [![hf](https://img.shields.io/badge/%F0%9F%A4%97%20HuggingFace-demo-pink)](https://huggingface.co/spaces/amphion/maskgct)
376
+
377
+ [![readme](https://img.shields.io/badge/README-Key%20Features-blue)](../../../models/tts/maskgct/README.md)
378
+ """
379
  )
380
 
381
  # Launch the interface