Karayakar commited on
Commit
1ef8b0c
·
verified ·
1 Parent(s): 11be77a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
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 Text-to-Speech](https://github.com/canopyai/Orpheus-TTS)
172
- Enter your text below and hear it converted to natural-sounding speech with the Orpheus TTS model.
173
-
174
- ## Tips for better prompts:
175
- - Add paralinguistic elements like {", ".join(EMOTIVE_TAGS)} or `uhm` for more human-like speech.
176
- - Longer text prompts generally work better than very short phrases
177
- - Increasing `repetition_penalty` and `temperature` makes the model speak faster.
178
  """)
179
  with gr.Row():
180
  with gr.Column(scale=3):
181
  text_input = gr.Textbox(
182
- label="Text to speak",
183
- placeholder="Enter your text here...",
184
  lines=5
185
  )
186
  voice = gr.Dropdown(
187
  choices=VOICES,
188
- value="tara",
189
  label="Voice"
190
  )
191
 
192
- with gr.Accordion("Advanced Settings", open=False):
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",