barghavani commited on
Commit
331e8d6
·
1 Parent(s): befffdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -5,8 +5,18 @@ from TTS.api import TTS
5
  from TTS.utils.synthesizer import Synthesizer
6
  from huggingface_hub import hf_hub_download
7
  import json
 
8
 
9
  # Define constants
 
 
 
 
 
 
 
 
 
10
  MODEL_INFO = [
11
  #["vits checkpoint 57000", "checkpoint_57000.pth", "config.json", "mhrahmani/persian-tts-vits-0"],
12
  # ["VITS Grapheme Multispeaker CV15(reduct)(best at 17864)", "best_model_17864.pth", "config.json",
 
5
  from TTS.utils.synthesizer import Synthesizer
6
  from huggingface_hub import hf_hub_download
7
  import json
8
+ from zipfile import ZipFile
9
 
10
  # Define constants
11
+ badges = """
12
+ <div style="display: flex">
13
+ <span style="margin-right: 5px">
14
+ [ ![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white) ](https://github.com/UNHSAILLab/Persian-TTS)
15
+
16
+ </span>
17
+
18
+ </div>
19
+ """
20
  MODEL_INFO = [
21
  #["vits checkpoint 57000", "checkpoint_57000.pth", "config.json", "mhrahmani/persian-tts-vits-0"],
22
  # ["VITS Grapheme Multispeaker CV15(reduct)(best at 17864)", "best_model_17864.pth", "config.json",