nguyenhuy commited on
Commit
04d8afc
·
1 Parent(s): a130ca2

Update app.py credits and README metadata

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +13 -0
  3. app.py +14 -0
.gitattributes ADDED
@@ -0,0 +1 @@
 
 
1
+ *.wav filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <div align="center">
2
 
3
  # 🎙️ Viterbox
 
1
+ ---
2
+ title: Viterbox TTS
3
+ emoji: 🎙️
4
+ colorFrom: indigo
5
+ colorTo: slate
6
+ sdk: gradio
7
+ sdk_version: 5.44.1
8
+ app_file: app.py
9
+ pinned: false
10
+ license: cc-by-nc-4.0
11
+ short_description: Vietnamese Text-to-Speech with Voice Cloning
12
+ ---
13
+
14
  <div align="center">
15
 
16
  # 🎙️ Viterbox
app.py CHANGED
@@ -1,5 +1,10 @@
1
  """
2
  Viterbox - Gradio Web Interface
 
 
 
 
 
3
  """
4
  import torch
5
  import numpy as np
@@ -217,6 +222,15 @@ with gr.Blocks(
217
  with gr.Row():
218
  output_audio = gr.Audio(label="Generated Speech", type="numpy", scale=2)
219
  status_text = gr.Textbox(label="Status", lines=2, scale=1)
 
 
 
 
 
 
 
 
 
220
 
221
  # Handlers
222
  sample_btn.click(
 
1
  """
2
  Viterbox - Gradio Web Interface
3
+
4
+ Credits:
5
+ - contextbox.tech
6
+ - Nguyen Vinh Huy — nguyenvinhhuy@dtu.edu.vn
7
+ - Nguyen Dinh Thuan — boyphuthien115@gmail.com
8
  """
9
  import torch
10
  import numpy as np
 
222
  with gr.Row():
223
  output_audio = gr.Audio(label="Generated Speech", type="numpy", scale=2)
224
  status_text = gr.Textbox(label="Status", lines=2, scale=1)
225
+
226
+ # Footer
227
+ gr.HTML("""
228
+ <div style="text-align: center; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #334155; color: #94a3b8; font-size: 0.9rem;">
229
+ <p>Developed by <b>contextbox.tech</b></p>
230
+ <p>Nguyen Vinh Huy — <a href="mailto:nguyenvinhhuy@dtu.edu.vn" style="color: #6366f1; text-decoration: none;">nguyenvinhhuy@dtu.edu.vn</a></p>
231
+ <p>Nguyen Dinh Thuan — <a href="mailto:boyphuthien115@gmail.com" style="color: #6366f1; text-decoration: none;">boyphuthien115@gmail.com</a></p>
232
+ </div>
233
+ """)
234
 
235
  # Handlers
236
  sample_btn.click(