Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -168,28 +168,28 @@ EMOTIVE_TAGS = ["`<laugh>`", "`<chuckle>`", "`<sigh>`", "`<cough>`", "`<sniffle>
|
|
| 168 |
# Create Gradio interface
|
| 169 |
with gr.Blocks(title="Orpheus Text-to-Speech") as demo:
|
| 170 |
gr.Markdown(f"""
|
| 171 |
-
# 🎵 [Orpheus
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
##
|
| 175 |
-
-
|
| 176 |
-
-
|
| 177 |
-
-
|
| 178 |
""")
|
| 179 |
with gr.Row():
|
| 180 |
with gr.Column(scale=3):
|
| 181 |
text_input = gr.Textbox(
|
| 182 |
-
label="
|
| 183 |
-
placeholder="
|
| 184 |
lines=5
|
| 185 |
)
|
| 186 |
voice = gr.Dropdown(
|
| 187 |
choices=VOICES,
|
| 188 |
-
value="
|
| 189 |
label="Voice"
|
| 190 |
)
|
| 191 |
|
| 192 |
-
with gr.Accordion("
|
| 193 |
temperature = gr.Slider(
|
| 194 |
minimum=0.1, maximum=1.5, value=0.6, step=0.05,
|
| 195 |
label="Temperature",
|
|
|
|
| 168 |
# Create Gradio interface
|
| 169 |
with gr.Blocks(title="Orpheus Text-to-Speech") as demo:
|
| 170 |
gr.Markdown(f"""
|
| 171 |
+
# 🎵 [Orpheus Metinden Konuşmaya (TTS)](https://github.com/canopyai/Orpheus-TTS)
|
| 172 |
+
Aşağıya metninizi girin ve Orpheus TTS modeliyle doğal sesli konuşmaya dönüştürülmesini dinleyin.
|
| 173 |
+
|
| 174 |
+
## Daha iyi sonuçlar için ipuçları:
|
| 175 |
+
- Daha insansı bir konuşma için {", ".join(EMOTIVE_TAGS)} gibi duygusal öğeler veya `uhm` gibi dolgu kelimeleri ekleyin.
|
| 176 |
+
- Daha uzun metinler genellikle çok kısa ifadelere göre daha iyi sonuç verir.
|
| 177 |
+
- `repetition_penalty` ve `temperature` değerlerini artırmak, modelin daha hızlı konuşmasını sağlar.
|
| 178 |
""")
|
| 179 |
with gr.Row():
|
| 180 |
with gr.Column(scale=3):
|
| 181 |
text_input = gr.Textbox(
|
| 182 |
+
label="Cevirilecek metin",
|
| 183 |
+
placeholder="Metin girin...",
|
| 184 |
lines=5
|
| 185 |
)
|
| 186 |
voice = gr.Dropdown(
|
| 187 |
choices=VOICES,
|
| 188 |
+
value="Kara",
|
| 189 |
label="Voice"
|
| 190 |
)
|
| 191 |
|
| 192 |
+
with gr.Accordion("Gelismis ayarlar", open=False):
|
| 193 |
temperature = gr.Slider(
|
| 194 |
minimum=0.1, maximum=1.5, value=0.6, step=0.05,
|
| 195 |
label="Temperature",
|