Spaces:
Running
Running
Yurii Paniv
commited on
Commit
·
3fbcb48
1
Parent(s):
349b2ad
#6 Add visitor's badge
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ config_path = "config.json"
|
|
36 |
download(model_link, model_path)
|
37 |
download(config_link, config_path)
|
38 |
|
|
|
39 |
|
40 |
synthesizer = Synthesizer(
|
41 |
model_path, config_path, None, None, None,
|
@@ -79,7 +80,8 @@ iface = gr.Interface(
|
|
79 |
theme="huggingface",
|
80 |
description="Україномовний🇺🇦 TTS за допомогою Coqui TTS (для наголосу використовуйте + перед голосною)",
|
81 |
article="Якщо вам подобається, підтримайте за посиланням: [SUPPORT LINK](https://send.monobank.ua/jar/48iHq4xAXm), " +
|
82 |
-
"Github: [https://github.com/robinhad/ukrainian-tts](https://github.com/robinhad/ukrainian-tts)"
|
|
|
83 |
examples=[
|
84 |
["Введ+іть, б+удь л+аска, сво+є р+ечення.", StressOption.ManualStress.value],
|
85 |
["Введіть, будь ласка, своє речення.", StressOption.ManualStress.value],
|
|
|
36 |
download(model_link, model_path)
|
37 |
download(config_link, config_path)
|
38 |
|
39 |
+
badge = "https://visitor-badge-reloaded.herokuapp.com/badge?page_id=robinhad.ukrainian-tts"
|
40 |
|
41 |
synthesizer = Synthesizer(
|
42 |
model_path, config_path, None, None, None,
|
|
|
80 |
theme="huggingface",
|
81 |
description="Україномовний🇺🇦 TTS за допомогою Coqui TTS (для наголосу використовуйте + перед голосною)",
|
82 |
article="Якщо вам подобається, підтримайте за посиланням: [SUPPORT LINK](https://send.monobank.ua/jar/48iHq4xAXm), " +
|
83 |
+
"Github: [https://github.com/robinhad/ukrainian-tts](https://github.com/robinhad/ukrainian-tts)" +
|
84 |
+
f"<center><img src=\"{badge}\" alt=\"visitors badge\"/></center>",
|
85 |
examples=[
|
86 |
["Введ+іть, б+удь л+аска, сво+є р+ечення.", StressOption.ManualStress.value],
|
87 |
["Введіть, будь ласка, своє речення.", StressOption.ManualStress.value],
|