Xinonria commited on
Commit
6c89c35
1 Parent(s): 0588771

新增显示参考音频

Browse files
Files changed (3) hide show
  1. api.py +16 -1
  2. app.py +41 -25
  3. i18n/translations.json +4 -0
api.py CHANGED
@@ -4,6 +4,7 @@ import io
4
  import os
5
 
6
  BASE_URL = os.getenv("BASE_URL")
 
7
 
8
  async def generate_api(voice_ids, text):
9
  timeout = aiohttp.ClientTimeout(total=10) # 设置10秒的总超时时间
@@ -22,4 +23,18 @@ async def generate_api(voice_ids, text):
22
  except asyncio.TimeoutError:
23
  return "请求超时,请稍后重试"
24
  except aiohttp.ClientError as e:
25
- return f"网络错误: {str(e)}"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  import os
5
 
6
  BASE_URL = os.getenv("BASE_URL")
7
+ AUDIO_URL = os.getenv("AUDIO_URL")
8
 
9
  async def generate_api(voice_ids, text):
10
  timeout = aiohttp.ClientTimeout(total=10) # 设置10秒的总超时时间
 
23
  except asyncio.TimeoutError:
24
  return "请求超时,请稍后重试"
25
  except aiohttp.ClientError as e:
26
+ return f"网络错误: {str(e)}"
27
+
28
+ async def get_audio(voice_id):
29
+ url = AUDIO_URL + voice_id + ".ogg"
30
+ try:
31
+ async with aiohttp.ClientSession() as session:
32
+ async with session.get(url) as response:
33
+ if response.status == 200:
34
+ return await response.read()
35
+ else:
36
+ return f"获取音频失败: {response.status}"
37
+ except asyncio.TimeoutError:
38
+ return "请求超时,请稍后重试"
39
+ except aiohttp.ClientError as e:
40
+ return f"网络错误: {str(e)}"
app.py CHANGED
@@ -8,7 +8,7 @@ import pandas as pd
8
  from pypinyin import lazy_pinyin
9
  from gradio_i18n import gettext, Translate
10
 
11
- from api import generate_api
12
 
13
  # 翻译文件位置
14
  trans_file = os.path.join(os.path.dirname(__file__),"i18n", "translations.json")
@@ -134,11 +134,11 @@ def get_character_emotions(character, all_characters):
134
  # 从all_characters中筛选出与当前角色名称相同的所有记录
135
  character_records = all_characters[all_characters['名称'] == character['名称']]
136
 
137
- # 获取所有不重复的情绪
138
- emotions = character_records['情绪'].unique().tolist()
139
 
140
- # 如果没有找到情绪,返回一个默认值
141
- return emotions if emotions else ["默认情绪"]
142
 
143
  def update_character_info(character_name, emotion, current_character, all_characters):
144
  character_info = None
@@ -218,12 +218,19 @@ def on_select(evt: gr.SelectData, characters, selected_characters, all_character
218
 
219
  selected = characters[evt.index]
220
  emotions = get_character_emotions(selected, all_characters)
221
- default_emotion = emotions[0] if emotions else ""
 
222
 
223
  character_dict = selected.copy()
224
  character_dict['情绪'] = default_emotion
 
 
225
 
226
- return selected["名称"], gr.Dropdown(choices=emotions, value=default_emotion), character_dict, selected_characters
 
 
 
 
227
 
228
  with gr.Blocks(title="Rubii TTS", theme=gr.themes.Soft()) as demo:
229
  lang = gr.Radio(choices=[("中文", "zh"), ("English", "en"), ("日本語", "ja"), ("한국인", "ko")], label=gettext("Language"), value="en", scale=1)
@@ -274,6 +281,24 @@ with gr.Blocks(title="Rubii TTS", theme=gr.themes.Soft()) as demo:
274
  delete_btn = gr.Button(gettext("Delete"), scale=0)
275
  selected_chars_rows.append((name, emotion, delete_btn, row))
276
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
 
278
  # -------------- 绑定事件 --------------
279
 
@@ -299,12 +324,20 @@ with gr.Blocks(title="Rubii TTS", theme=gr.themes.Soft()) as demo:
299
  fn=on_select,
300
  inputs=[characters, selected_characters, all_characters_state],
301
  outputs=[character_name, info_type, current_character, selected_characters]
 
 
 
 
302
  )
303
 
304
  info_type.change(
305
  fn=update_character_info,
306
  inputs=[character_name, info_type, current_character, all_characters_state],
307
  outputs=[current_character, all_characters_state]
 
 
 
 
308
  )
309
 
310
  for i, (_, _, delete_btn, _) in enumerate(selected_chars_rows):
@@ -329,26 +362,9 @@ with gr.Blocks(title="Rubii TTS", theme=gr.themes.Soft()) as demo:
329
  inputs=[kind, query, all_characters_state],
330
  outputs=[characters, gallery, all_characters_state]
331
  )
332
-
333
- with gr.Row():
334
- with gr.Column():
335
- text = gr.Textbox(label=gettext("Text to synthesize"), value="", lines=10, max_lines=10)
336
- inference_button = gr.Button(gettext("🎉 Synthesize Voice 🎉"), variant="primary", size='lg')
337
- with gr.Column():
338
- output = gr.Audio(label=gettext("Output audio"), interactive=False, type="numpy")
339
- cost_time = gr.Textbox(label=gettext("Synthesis time"), interactive=False, show_label=False, max_lines=1)
340
- try:
341
- inference_button.click(
342
- fn=generate,
343
- inputs=[current_character, selected_characters, text, lang],
344
- outputs=[output, cost_time],
345
- )
346
- except gr.Error as e:
347
- gr.Error(e)
348
- except Exception as e:
349
- pass
350
  gr.Markdown(gettext(terms))
351
 
 
352
  if __name__ == '__main__':
353
  demo.queue(default_concurrency_limit=8).launch(
354
  # server_name="0.0.0.0",
 
8
  from pypinyin import lazy_pinyin
9
  from gradio_i18n import gettext, Translate
10
 
11
+ from api import generate_api, get_audio
12
 
13
  # 翻译文件位置
14
  trans_file = os.path.join(os.path.dirname(__file__),"i18n", "translations.json")
 
134
  # 从all_characters中筛选出与当前角色名称相同的所有记录
135
  character_records = all_characters[all_characters['名称'] == character['名称']]
136
 
137
+ # 按情绪去重并获取完整的角色信息
138
+ character_infos = character_records.drop_duplicates(subset=['情绪']).to_dict('records')
139
 
140
+ # 如果没有找到角色信息,返回一个包含默认值的字典
141
+ return character_infos if character_infos else [{"名称": character['名称'], "情绪": "默认情绪"}]
142
 
143
  def update_character_info(character_name, emotion, current_character, all_characters):
144
  character_info = None
 
218
 
219
  selected = characters[evt.index]
220
  emotions = get_character_emotions(selected, all_characters)
221
+ default_emotion = emotions[0]["情绪"] if emotions else ""
222
+ default_voice_id = emotions[0]["voice_id"] if emotions else ""
223
 
224
  character_dict = selected.copy()
225
  character_dict['情绪'] = default_emotion
226
+ character_dict['voice_id'] = default_voice_id
227
+ return selected["名称"], gr.Dropdown(choices=[emotion["情绪"] for emotion in emotions], value=default_emotion), character_dict, selected_characters
228
 
229
+ async def update_prompt_audio(current_character):
230
+ if current_character:
231
+ return await get_audio(current_character.get("voice_id"))
232
+ else:
233
+ return None
234
 
235
  with gr.Blocks(title="Rubii TTS", theme=gr.themes.Soft()) as demo:
236
  lang = gr.Radio(choices=[("中文", "zh"), ("English", "en"), ("日本語", "ja"), ("한국인", "ko")], label=gettext("Language"), value="en", scale=1)
 
281
  delete_btn = gr.Button(gettext("Delete"), scale=0)
282
  selected_chars_rows.append((name, emotion, delete_btn, row))
283
 
284
+ with gr.Row():
285
+ with gr.Column():
286
+ text = gr.Textbox(label=gettext("Text to synthesize"), value="", lines=10, max_lines=10)
287
+ inference_button = gr.Button(gettext("🎉 Synthesize Voice 🎉"), variant="primary", size='lg')
288
+ with gr.Column():
289
+ prompt_audio = gr.Audio(label=gettext("Reference audio for synthesis"), interactive=False, type="numpy")
290
+ output = gr.Audio(label=gettext("Output audio"), interactive=False, type="numpy")
291
+ cost_time = gr.Textbox(label=gettext("Synthesis time"), interactive=False, show_label=False, max_lines=1)
292
+ try:
293
+ inference_button.click(
294
+ fn=generate,
295
+ inputs=[current_character, selected_characters, text, lang],
296
+ outputs=[output, cost_time],
297
+ )
298
+ except gr.Error as e:
299
+ gr.Error(e)
300
+ except Exception as e:
301
+ pass
302
 
303
  # -------------- 绑定事件 --------------
304
 
 
324
  fn=on_select,
325
  inputs=[characters, selected_characters, all_characters_state],
326
  outputs=[character_name, info_type, current_character, selected_characters]
327
+ ).then(
328
+ fn=update_prompt_audio,
329
+ inputs=[current_character],
330
+ outputs=[prompt_audio]
331
  )
332
 
333
  info_type.change(
334
  fn=update_character_info,
335
  inputs=[character_name, info_type, current_character, all_characters_state],
336
  outputs=[current_character, all_characters_state]
337
+ ).then(
338
+ fn=update_prompt_audio,
339
+ inputs=[current_character],
340
+ outputs=[prompt_audio]
341
  )
342
 
343
  for i, (_, _, delete_btn, _) in enumerate(selected_chars_rows):
 
362
  inputs=[kind, query, all_characters_state],
363
  outputs=[characters, gallery, all_characters_state]
364
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
365
  gr.Markdown(gettext(terms))
366
 
367
+
368
  if __name__ == '__main__':
369
  demo.queue(default_concurrency_limit=8).launch(
370
  # server_name="0.0.0.0",
i18n/translations.json CHANGED
@@ -16,6 +16,7 @@
16
  "Delete": "Delete",
17
  "Text to synthesize": "Text to synthesize",
18
  "🎉 Synthesize Voice 🎉": "🎉 Synthesize Voice 🎉",
 
19
  "Output audio": "Output audio",
20
  "Synthesis time": "Synthesis time",
21
  "## Disclaimer\n\nThe voice synthesis service provided by this website (hereinafter referred to as the \"Service\") is intended for personal use and entertainment purposes. Before using this Service, please carefully read and fully understand the following terms:\n\n1. **Character Copyright**: The character images used on this website may involve third-party intellectual property rights. This website does not own the copyrights to these characters. Users should respect the intellectual property rights of the relevant characters when using the Service and ensure that their actions do not infringe upon any third-party intellectual property rights.\n\n2. **User-Generated Content (UGC)**: The voice content generated by users through this platform (hereinafter referred to as \"UGC\") is the sole responsibility of the users and is not related to this platform. This platform cannot control or review the specific content generated by users and does not assume any responsibility for the accuracy, completeness, or legality of UGC.\n\n3. **Usage Restrictions**: The voices and their UGC generated by this Service are limited to personal use only and may not be used for any commercial purposes. It is prohibited to use the generated content for any commercial activities without prior written consent from this platform.\n\n4. **Legal Responsibility**: Any legal responsibility arising from the use of this Service by users shall be borne by the users themselves and is not related to this platform. This platform does not assume any responsibility for any disputes or losses caused by users' use of the Service or their UGC.\n\n5. **Copyright Statement**: Users should respect original creations and must not use this Service to generate content that infringes upon others' copyrights. If user-generated content is found to infringe upon others' copyrights, this platform reserves the right to immediately cease providing services to them and reserves the right to pursue legal action.\n\n6. **Content Moderation**: Although this platform cannot control UGC, once content that violates this disclaimer or laws and regulations is discovered, this platform will take necessary measures, including but not limited to deleting the violating content and cooperating with relevant authorities in investigations.\n\n7. **Attribution Requirement**: Users should, where possible, prominently indicate \"This content was generated by RubiiTTS\" or a similar statement in the generated content. Users should ensure that the attribution complies with the requirements of these terms.\n\nBy using this website, users agree to the above disclaimer. If you have any questions, please contact us at [email protected].\n\n**The final interpretation right belongs to this website.**": "## Disclaimer\n\nThe voice synthesis service provided by this website (hereinafter referred to as the \"Service\") is intended for personal use and entertainment purposes. Before using this Service, please carefully read and fully understand the following terms:\n\n1. **Character Copyright**: The character images used on this website may involve third-party intellectual property rights. This website does not own the copyrights to these characters. Users should respect the intellectual property rights of the relevant characters when using the Service and ensure that their actions do not infringe upon any third-party intellectual property rights.\n\n2. **User-Generated Content (UGC)**: The voice content generated by users through this platform (hereinafter referred to as \"UGC\") is the sole responsibility of the users and is not related to this platform. This platform cannot control or review the specific content generated by users and does not assume any responsibility for the accuracy, completeness, or legality of UGC.\n\n3. **Usage Restrictions**: The voices and their UGC generated by this Service are limited to personal use only and may not be used for any commercial purposes. It is prohibited to use the generated content for any commercial activities without prior written consent from this platform.\n\n4. **Legal Responsibility**: Any legal responsibility arising from the use of this Service by users shall be borne by the users themselves and is not related to this platform. This platform does not assume any responsibility for any disputes or losses caused by users' use of the Service or their UGC.\n\n5. **Copyright Statement**: Users should respect original creations and must not use this Service to generate content that infringes upon others' copyrights. If user-generated content is found to infringe upon others' copyrights, this platform reserves the right to immediately cease providing services to them and reserves the right to pursue legal action.\n\n6. **Content Moderation**: Although this platform cannot control UGC, once content that violates this disclaimer or laws and regulations is discovered, this platform will take necessary measures, including but not limited to deleting the violating content and cooperating with relevant authorities in investigations.\n\n7. **Attribution Requirement**: Users should, where possible, prominently indicate \"This content was generated by RubiiTTS\" or a similar statement in the generated content. Users should ensure that the attribution complies with the requirements of these terms.\n\nBy using this website, users agree to the above disclaimer. If you have any questions, please contact us at [email protected].\n\n**The final interpretation right belongs to this website.**"
@@ -37,6 +38,7 @@
37
  "Delete": "删除",
38
  "Text to synthesize": "需要合成的文本",
39
  "🎉 Synthesize Voice 🎉": "🎉 合成语音 🎉",
 
40
  "Output audio": "输出的语音",
41
  "Synthesis time": "合成时间",
42
  "## Disclaimer\n\nThe voice synthesis service provided by this website (hereinafter referred to as the \"Service\") is intended for personal use and entertainment purposes. Before using this Service, please carefully read and fully understand the following terms:\n\n1. **Character Copyright**: The character images used on this website may involve third-party intellectual property rights. This website does not own the copyrights to these characters. Users should respect the intellectual property rights of the relevant characters when using the Service and ensure that their actions do not infringe upon any third-party intellectual property rights.\n\n2. **User-Generated Content (UGC)**: The voice content generated by users through this platform (hereinafter referred to as \"UGC\") is the sole responsibility of the users and is not related to this platform. This platform cannot control or review the specific content generated by users and does not assume any responsibility for the accuracy, completeness, or legality of UGC.\n\n3. **Usage Restrictions**: The voices and their UGC generated by this Service are limited to personal use only and may not be used for any commercial purposes. It is prohibited to use the generated content for any commercial activities without prior written consent from this platform.\n\n4. **Legal Responsibility**: Any legal responsibility arising from the use of this Service by users shall be borne by the users themselves and is not related to this platform. This platform does not assume any responsibility for any disputes or losses caused by users' use of the Service or their UGC.\n\n5. **Copyright Statement**: Users should respect original creations and must not use this Service to generate content that infringes upon others' copyrights. If user-generated content is found to infringe upon others' copyrights, this platform reserves the right to immediately cease providing services to them and reserves the right to pursue legal action.\n\n6. **Content Moderation**: Although this platform cannot control UGC, once content that violates this disclaimer or laws and regulations is discovered, this platform will take necessary measures, including but not limited to deleting the violating content and cooperating with relevant authorities in investigations.\n\n7. **Attribution Requirement**: Users should, where possible, prominently indicate \"This content was generated by RubiiTTS\" or a similar statement in the generated content. Users should ensure that the attribution complies with the requirements of these terms.\n\nBy using this website, users agree to the above disclaimer. If you have any questions, please contact us at [email protected].\n\n**The final interpretation right belongs to this website.**": "## 免责声明\n\n本网站提供的语音合成服务(以下简称“服务”)旨在供个人使用和娱乐目的。在使用本服务前,请用户仔细阅读并充分理解以下条款:\n\n1. **角色版权**:本网站可能使用的角色形象涉及第三方知识产权。本网站不拥有这些角色的版权。用户在使用服务时应尊重相关角色的知识产权,并确保其行为不侵犯任何第三方的知识产权。\n\n2. **用户生成内容(UGC)**:用户通过本平台生成的语音内容(以下简称“UGC”)由用户自行负责,与本平台无关。本平台无法控制或审核用户生成的具体内容,且不对UGC的准确性、完整性或合法性承担任何责任。\n\n3. **使用限制**:本服务生成的语音及其UGC仅限于个人使用,不得用于任何商业目的。未经本平台事先书面同意,禁止将生成内容用于任何商业活动。\n\n4. **法律责任**:用户使用本服务所产生的任何法律责任由用户自行承担,与本平台无关。如因用户使用服务或其UGC导致的任何纠纷或损失,本平台不承担任何责任。\n\n5. **版权声明**:用户应尊重原创,不得使用本服务生成侵犯他人著作权的内容。如发现用户生成内容侵犯他人版权,本平台有权立即停止对其提供服务,并保留追究法律责任的权利。\n\n6. **内容监管**:尽管本平台无法控制UGC,但一旦发现违反本免责声明或法律法规的内容,本平台将采取必要措施,包括但不限于删除违规内容,并配合有关部门进行调查。\n\n7. **注明要求**:用户应在生成内容的显著位置,如可能的话,注明“此内容由RubiiTTS生成”或类似的说明。用户应确保注明行为符合本条款的要求。\n\n用户使用本网站即表示同意以上免责声明。如有疑问,请联系我们[email protected]。\n\n**最终解释权归本网站所有。**"
@@ -58,6 +60,7 @@
58
  "Delete": "削除",
59
  "Text to synthesize": "合成するテキスト",
60
  "🎉 Synthesize Voice 🎉": "🎉 音声を合成 🎉",
 
61
  "Output audio": "出力された音声",
62
  "Synthesis time": "合成時間",
63
  "## Disclaimer\n\nThe voice synthesis service provided by this website (hereinafter referred to as the \"Service\") is intended for personal use and entertainment purposes. Before using this Service, please carefully read and fully understand the following terms:\n\n1. **Character Copyright**: The character images used on this website may involve third-party intellectual property rights. This website does not own the copyrights to these characters. Users should respect the intellectual property rights of the relevant characters when using the Service and ensure that their actions do not infringe upon any third-party intellectual property rights.\n\n2. **User-Generated Content (UGC)**: The voice content generated by users through this platform (hereinafter referred to as \"UGC\") is the sole responsibility of the users and is not related to this platform. This platform cannot control or review the specific content generated by users and does not assume any responsibility for the accuracy, completeness, or legality of UGC.\n\n3. **Usage Restrictions**: The voices and their UGC generated by this Service are limited to personal use only and may not be used for any commercial purposes. It is prohibited to use the generated content for any commercial activities without prior written consent from this platform.\n\n4. **Legal Responsibility**: Any legal responsibility arising from the use of this Service by users shall be borne by the users themselves and is not related to this platform. This platform does not assume any responsibility for any disputes or losses caused by users' use of the Service or their UGC.\n\n5. **Copyright Statement**: Users should respect original creations and must not use this Service to generate content that infringes upon others' copyrights. If user-generated content is found to infringe upon others' copyrights, this platform reserves the right to immediately cease providing services to them and reserves the right to pursue legal action.\n\n6. **Content Moderation**: Although this platform cannot control UGC, once content that violates this disclaimer or laws and regulations is discovered, this platform will take necessary measures, including but not limited to deleting the violating content and cooperating with relevant authorities in investigations.\n\n7. **Attribution Requirement**: Users should, where possible, prominently indicate \"This content was generated by RubiiTTS\" or a similar statement in the generated content. Users should ensure that the attribution complies with the requirements of these terms.\n\nBy using this website, users agree to the above disclaimer. If you have any questions, please contact us at [email protected].\n\n**The final interpretation right belongs to this website.**": "## 免責事項\n\n本ウェブサイトが提供する音声合成サービス(以下「サービス」という)は、個人使用および娯楽目的のために提供されています。本サービスをご利用になる前に、以下の条項を注意深くお読みいただき、十分にご理解ください:\n\n1. **キャラクターの著作権**:本ウェブサイトで使用されているキャラクターイメージは、第三者の知的財産権に関わる可能性があります。本ウェブサイトはこれらのキャラクターの著作権を所有していません。ユーザーはサービスを利用する際、関連するキャラクターの知的財産権を尊重し、第三者の知的財産権を侵害しないよう確保する必要があります。\n\n2. **ユーザー生成コンテンツ(UGC)**:ユーザーが本プラットフォームを通じて生成した音声コンテンツ(以下「UGC」という)は、ユーザー自身の責任であり、本プラットフォームとは無関係です。本プラットフォームはユーザーが生成した具体的なコンテンツを制御または審査することはできず、UGCの正確性、完全性、または合法性について一切の責任を負いません。\n\n3. **使用制��**:本サービスで生成された音声およびそのUGCは個人使用に限定され、商業目的での使用は禁止されています。本プラットフォームの事前の書面による同意なしに、生成されたコンテンツを商業活動に使用することは禁止されています。\n\n4. **法的責任**:ユーザーが本サービスを利用することによって生じるいかなる法的責任も、ユーザー自身が負うものとし、本プラットフォームとは無関係です。ユーザーのサービス利用またはそのUGCに起因するいかなる紛争や損失についても、本プラットフォームは一切の責任を負いません。\n\n5. **著作権声明**:ユーザーは創作物を尊重し、他人の著作権を侵害するコンテンツを本サービスで生成してはいけません。ユーザーが生成したコンテンツが他人の著作権を侵害していることが発見された場合、本プラットフォームはただちにサービスの提供を停止する権利を有し、法的責任を追及する権利を留保します。\n\n6. **コンテンツ監視**:本プラットフォームはUGCを制御できませんが、本免責事項や法律規制に違反するコンテンツが発見された場合、本プラットフォームは必要な措置を講じます。これには違反コンテンツの削除や関係機関との調査協力が含まれますが、これらに限定されません。\n\n7. **表示要件**:ユーザーは生成されたコンテンツの目立つ位置に、可能な限り「このコンテンツはRubiiTTSによって生成されました」または類似の説明を表示する必要があります。ユーザーはこの表示行為が本条項の要件に適合していることを確認する必要があります。\n\nユーザーが本ウェブサイトを利用することは、上記の免責事項に同意したことを意味します。ご質問がある場合は、[email protected]までお問い合わせください。\n\n**最終的な解釈権は本ウェブサイトに帰属します。**"
@@ -79,6 +82,7 @@
79
  "Delete": "삭제",
80
  "Text to synthesize": "합성할 텍스트",
81
  "🎉 Synthesize Voice 🎉": "🎉 음성 합성 🎉",
 
82
  "Output audio": "출력된 음성",
83
  "Synthesis time": "합성 시간",
84
  "## Disclaimer\n\nThe voice synthesis service provided by this website (hereinafter referred to as the \"Service\") is intended for personal use and entertainment purposes. Before using this Service, please carefully read and fully understand the following terms:\n\n1. **Character Copyright**: The character images used on this website may involve third-party intellectual property rights. This website does not own the copyrights to these characters. Users should respect the intellectual property rights of the relevant characters when using the Service and ensure that their actions do not infringe upon any third-party intellectual property rights.\n\n2. **User-Generated Content (UGC)**: The voice content generated by users through this platform (hereinafter referred to as \"UGC\") is the sole responsibility of the users and is not related to this platform. This platform cannot control or review the specific content generated by users and does not assume any responsibility for the accuracy, completeness, or legality of UGC.\n\n3. **Usage Restrictions**: The voices and their UGC generated by this Service are limited to personal use only and may not be used for any commercial purposes. It is prohibited to use the generated content for any commercial activities without prior written consent from this platform.\n\n4. **Legal Responsibility**: Any legal responsibility arising from the use of this Service by users shall be borne by the users themselves and is not related to this platform. This platform does not assume any responsibility for any disputes or losses caused by users' use of the Service or their UGC.\n\n5. **Copyright Statement**: Users should respect original creations and must not use this Service to generate content that infringes upon others' copyrights. If user-generated content is found to infringe upon others' copyrights, this platform reserves the right to immediately cease providing services to them and reserves the right to pursue legal action.\n\n6. **Content Moderation**: Although this platform cannot control UGC, once content that violates this disclaimer or laws and regulations is discovered, this platform will take necessary measures, including but not limited to deleting the violating content and cooperating with relevant authorities in investigations.\n\n7. **Attribution Requirement**: Users should, where possible, prominently indicate \"This content was generated by RubiiTTS\" or a similar statement in the generated content. Users should ensure that the attribution complies with the requirements of these terms.\n\nBy using this website, users agree to the above disclaimer. If you have any questions, please contact us at [email protected].\n\n**The final interpretation right belongs to this website.**": "## 면책 조항\n\n본 웹사이트에서 제공하는 음성 합성 서비스(이하 \"서비스\")는 개인 사용 및 엔터테인먼트 목적으로 제공됩니다. 본 서비스를 사용하기 전에 사용자는 다음 조항을 주의 깊게 읽고 충분히 이해해야 합니다:\n\n1. **캐릭터 저작권**: 본 웹사이트에서 사용되는 캐릭터 이미지는 제3자의 지적 재산권과 관련될 수 있습니다. 본 웹사이트는 이러한 캐릭터들의 저작권을 소유하고 있지 않습니다. 사용자는 서비스를 사용할 때 관련 캐릭터의 지적 재산권을 존중해야 하며, 제3자의 지적 재산권을 침해하지 않도록 해야 합니다.\n\n2. **사용자 생성 콘텐츠(UGC)**: 사용자가 본 플랫폼을 통해 생성한 음성 콘텐츠(이하 \"UGC\")는 사용자 본인의 책임이며, 본 플랫폼과는 무관합니다. 본 플랫폼은 사용자가 생성한 구체적인 내용을 통제하거나 검토할 수 없으며, UGC의 정확성, 완전성 또는 합법성에 대해 어떠한 책임도 지지 않습니다.\n\n3. **사용 제한**: 본 서비스에서 생성된 음성 및 UGC는 개인 사용에 한정되며, 상업적 목적으로 사용할 수 없습니다. 본 플랫폼의 사전 서면 동의 없이 생성된 콘텐츠를 상업적 활동에 사용하는 것은 금지됩니다.\n\n4. **법적 책임**: 사용자가 본 서비스를 사용함으로써 발생하는 모든 법적 책임은 사용자 본인이 부담하며, 본 플랫폼과는 무관합니다. 사용자의 서비스 사용 또는 UGC로 인해 발생하는 모든 분쟁이나 손실에 대해 본 플랫폼은 어떠한 책임도 지지 않습니다.\n\n5. **저작권 선언**: 사용자는 창작물을 존중해야 하며, 본 서비스를 사용하여 타인의 저작권을 침해하는 콘텐츠를 생성해서는 안 됩니다. 사용자가 생성한 콘텐츠가 타인의 저작권을 침해한 것이 발견될 경우, 본 플랫폼은 즉시 서비스 제공을 중단할 권리가 있으며, 법적 책임을 추궁할 권리를 보유합니다.\n\n6. **콘텐츠 관리**: 본 플랫폼은 UGC를 통제할 수 없지만, 본 면책 조항이나 법규를 위반하는 내용이 발견될 경우, 본 플랫폼은 필요한 조치를 취할 것입니다. 이는 위반 콘텐츠 삭제 및 관련 부서와의 조사 협력을 포함하지만 이에 국한되지 않습니다.\n\n7. **표시 요구 사항**: 사용자는 생성된 콘텐츠의 눈에 띄는 위치에 가능한 한 \"이 콘텐츠는 RubiiTTS에 의해 생성되었습니다\" 또는 유사한 설명을 표시해야 합니다. 사용자는 이 표시 행위가 본 조항의 요구 사항을 준수하는지 확인해야 합니다.\n\n사용자가 본 웹사이트를 사용하는 것은 위의 면책 조항에 동의한다는 의미입니다. 문의 사항이 있으시면 [email protected]로 연락해 주시기 바랍니다.\n\n**최종 해석권은 본 웹사이트에 있습니다.**"
 
16
  "Delete": "Delete",
17
  "Text to synthesize": "Text to synthesize",
18
  "🎉 Synthesize Voice 🎉": "🎉 Synthesize Voice 🎉",
19
+ "Reference audio for synthesis": "Reference audio for synthesis",
20
  "Output audio": "Output audio",
21
  "Synthesis time": "Synthesis time",
22
  "## Disclaimer\n\nThe voice synthesis service provided by this website (hereinafter referred to as the \"Service\") is intended for personal use and entertainment purposes. Before using this Service, please carefully read and fully understand the following terms:\n\n1. **Character Copyright**: The character images used on this website may involve third-party intellectual property rights. This website does not own the copyrights to these characters. Users should respect the intellectual property rights of the relevant characters when using the Service and ensure that their actions do not infringe upon any third-party intellectual property rights.\n\n2. **User-Generated Content (UGC)**: The voice content generated by users through this platform (hereinafter referred to as \"UGC\") is the sole responsibility of the users and is not related to this platform. This platform cannot control or review the specific content generated by users and does not assume any responsibility for the accuracy, completeness, or legality of UGC.\n\n3. **Usage Restrictions**: The voices and their UGC generated by this Service are limited to personal use only and may not be used for any commercial purposes. It is prohibited to use the generated content for any commercial activities without prior written consent from this platform.\n\n4. **Legal Responsibility**: Any legal responsibility arising from the use of this Service by users shall be borne by the users themselves and is not related to this platform. This platform does not assume any responsibility for any disputes or losses caused by users' use of the Service or their UGC.\n\n5. **Copyright Statement**: Users should respect original creations and must not use this Service to generate content that infringes upon others' copyrights. If user-generated content is found to infringe upon others' copyrights, this platform reserves the right to immediately cease providing services to them and reserves the right to pursue legal action.\n\n6. **Content Moderation**: Although this platform cannot control UGC, once content that violates this disclaimer or laws and regulations is discovered, this platform will take necessary measures, including but not limited to deleting the violating content and cooperating with relevant authorities in investigations.\n\n7. **Attribution Requirement**: Users should, where possible, prominently indicate \"This content was generated by RubiiTTS\" or a similar statement in the generated content. Users should ensure that the attribution complies with the requirements of these terms.\n\nBy using this website, users agree to the above disclaimer. If you have any questions, please contact us at [email protected].\n\n**The final interpretation right belongs to this website.**": "## Disclaimer\n\nThe voice synthesis service provided by this website (hereinafter referred to as the \"Service\") is intended for personal use and entertainment purposes. Before using this Service, please carefully read and fully understand the following terms:\n\n1. **Character Copyright**: The character images used on this website may involve third-party intellectual property rights. This website does not own the copyrights to these characters. Users should respect the intellectual property rights of the relevant characters when using the Service and ensure that their actions do not infringe upon any third-party intellectual property rights.\n\n2. **User-Generated Content (UGC)**: The voice content generated by users through this platform (hereinafter referred to as \"UGC\") is the sole responsibility of the users and is not related to this platform. This platform cannot control or review the specific content generated by users and does not assume any responsibility for the accuracy, completeness, or legality of UGC.\n\n3. **Usage Restrictions**: The voices and their UGC generated by this Service are limited to personal use only and may not be used for any commercial purposes. It is prohibited to use the generated content for any commercial activities without prior written consent from this platform.\n\n4. **Legal Responsibility**: Any legal responsibility arising from the use of this Service by users shall be borne by the users themselves and is not related to this platform. This platform does not assume any responsibility for any disputes or losses caused by users' use of the Service or their UGC.\n\n5. **Copyright Statement**: Users should respect original creations and must not use this Service to generate content that infringes upon others' copyrights. If user-generated content is found to infringe upon others' copyrights, this platform reserves the right to immediately cease providing services to them and reserves the right to pursue legal action.\n\n6. **Content Moderation**: Although this platform cannot control UGC, once content that violates this disclaimer or laws and regulations is discovered, this platform will take necessary measures, including but not limited to deleting the violating content and cooperating with relevant authorities in investigations.\n\n7. **Attribution Requirement**: Users should, where possible, prominently indicate \"This content was generated by RubiiTTS\" or a similar statement in the generated content. Users should ensure that the attribution complies with the requirements of these terms.\n\nBy using this website, users agree to the above disclaimer. If you have any questions, please contact us at [email protected].\n\n**The final interpretation right belongs to this website.**"
 
38
  "Delete": "删除",
39
  "Text to synthesize": "需要合成的文本",
40
  "🎉 Synthesize Voice 🎉": "🎉 合成语音 🎉",
41
+ "Reference audio for synthesis": "当前使用的参考音频",
42
  "Output audio": "输出的语音",
43
  "Synthesis time": "合成时间",
44
  "## Disclaimer\n\nThe voice synthesis service provided by this website (hereinafter referred to as the \"Service\") is intended for personal use and entertainment purposes. Before using this Service, please carefully read and fully understand the following terms:\n\n1. **Character Copyright**: The character images used on this website may involve third-party intellectual property rights. This website does not own the copyrights to these characters. Users should respect the intellectual property rights of the relevant characters when using the Service and ensure that their actions do not infringe upon any third-party intellectual property rights.\n\n2. **User-Generated Content (UGC)**: The voice content generated by users through this platform (hereinafter referred to as \"UGC\") is the sole responsibility of the users and is not related to this platform. This platform cannot control or review the specific content generated by users and does not assume any responsibility for the accuracy, completeness, or legality of UGC.\n\n3. **Usage Restrictions**: The voices and their UGC generated by this Service are limited to personal use only and may not be used for any commercial purposes. It is prohibited to use the generated content for any commercial activities without prior written consent from this platform.\n\n4. **Legal Responsibility**: Any legal responsibility arising from the use of this Service by users shall be borne by the users themselves and is not related to this platform. This platform does not assume any responsibility for any disputes or losses caused by users' use of the Service or their UGC.\n\n5. **Copyright Statement**: Users should respect original creations and must not use this Service to generate content that infringes upon others' copyrights. If user-generated content is found to infringe upon others' copyrights, this platform reserves the right to immediately cease providing services to them and reserves the right to pursue legal action.\n\n6. **Content Moderation**: Although this platform cannot control UGC, once content that violates this disclaimer or laws and regulations is discovered, this platform will take necessary measures, including but not limited to deleting the violating content and cooperating with relevant authorities in investigations.\n\n7. **Attribution Requirement**: Users should, where possible, prominently indicate \"This content was generated by RubiiTTS\" or a similar statement in the generated content. Users should ensure that the attribution complies with the requirements of these terms.\n\nBy using this website, users agree to the above disclaimer. If you have any questions, please contact us at [email protected].\n\n**The final interpretation right belongs to this website.**": "## 免责声明\n\n本网站提供的语音合成服务(以下简称“服务”)旨在供个人使用和娱乐目的。在使用本服务前,请用户仔细阅读并充分理解以下条款:\n\n1. **角色版权**:本网站可能使用的角色形象涉及第三方知识产权。本网站不拥有这些角色的版权。用户在使用服务时应尊重相关角色的知识产权,并确保其行为不侵犯任何第三方的知识产权。\n\n2. **用户生成内容(UGC)**:用户通过本平台生成的语音内容(以下简称“UGC”)由用户自行负责,与本平台无关。本平台无法控制或审核用户生成的具体内容,且不对UGC的准确性、完整性或合法性承担任何责任。\n\n3. **使用限制**:本服务生成的语音及其UGC仅限于个人使用,不得用于任何商业目的。未经本平台事先书面同意,禁止将生成内容用于任何商业活动。\n\n4. **法律责任**:用户使用本服务所产生的任何法律责任由用户自行承担,与本平台无关。如因用户使用服务或其UGC导致的任何纠纷或损失,本平台不承担任何责任。\n\n5. **版权声明**:用户应尊重原创,不得使用本服务生成侵犯他人著作权的内容。如发现用户生成内容侵犯他人版权,本平台有权立即停止对其提供服务,并保留追究法律责任的权利。\n\n6. **内容监管**:尽管本平台无法控制UGC,但一旦发现违反本免责声明或法律法规的内容,本平台将采取必要措施,包括但不限于删除违规内容,并配合有关部门进行调查。\n\n7. **注明要求**:用户应在生成内容的显著位置,如可能的话,注明“此内容由RubiiTTS生成”或类似的说明。用户应确保注明行为符合本条款的要求。\n\n用户使用本网站即表示同意以上免责声明。如有疑问,请联系我们[email protected]。\n\n**最终解释权归本网站所有。**"
 
60
  "Delete": "削除",
61
  "Text to synthesize": "合成するテキスト",
62
  "🎉 Synthesize Voice 🎉": "🎉 音声を合成 🎉",
63
+ "Reference audio for synthesis": "合成に使用する参考音声",
64
  "Output audio": "出力された音声",
65
  "Synthesis time": "合成時間",
66
  "## Disclaimer\n\nThe voice synthesis service provided by this website (hereinafter referred to as the \"Service\") is intended for personal use and entertainment purposes. Before using this Service, please carefully read and fully understand the following terms:\n\n1. **Character Copyright**: The character images used on this website may involve third-party intellectual property rights. This website does not own the copyrights to these characters. Users should respect the intellectual property rights of the relevant characters when using the Service and ensure that their actions do not infringe upon any third-party intellectual property rights.\n\n2. **User-Generated Content (UGC)**: The voice content generated by users through this platform (hereinafter referred to as \"UGC\") is the sole responsibility of the users and is not related to this platform. This platform cannot control or review the specific content generated by users and does not assume any responsibility for the accuracy, completeness, or legality of UGC.\n\n3. **Usage Restrictions**: The voices and their UGC generated by this Service are limited to personal use only and may not be used for any commercial purposes. It is prohibited to use the generated content for any commercial activities without prior written consent from this platform.\n\n4. **Legal Responsibility**: Any legal responsibility arising from the use of this Service by users shall be borne by the users themselves and is not related to this platform. This platform does not assume any responsibility for any disputes or losses caused by users' use of the Service or their UGC.\n\n5. **Copyright Statement**: Users should respect original creations and must not use this Service to generate content that infringes upon others' copyrights. If user-generated content is found to infringe upon others' copyrights, this platform reserves the right to immediately cease providing services to them and reserves the right to pursue legal action.\n\n6. **Content Moderation**: Although this platform cannot control UGC, once content that violates this disclaimer or laws and regulations is discovered, this platform will take necessary measures, including but not limited to deleting the violating content and cooperating with relevant authorities in investigations.\n\n7. **Attribution Requirement**: Users should, where possible, prominently indicate \"This content was generated by RubiiTTS\" or a similar statement in the generated content. Users should ensure that the attribution complies with the requirements of these terms.\n\nBy using this website, users agree to the above disclaimer. If you have any questions, please contact us at [email protected].\n\n**The final interpretation right belongs to this website.**": "## 免責事項\n\n本ウェブサイトが提供する音声合成サービス(以下「サービス」という)は、個人使用および娯楽目的のために提供されています。本サービスをご利用になる前に、以下の条項を注意深くお読みいただき、十分にご理解ください:\n\n1. **キャラクターの著作権**:本ウェブサイトで使用されているキャラクターイメージは、第三者の知的財産権に関わる可能性があります。本ウェブサイトはこれらのキャラクターの著作権を所有していません。ユーザーはサービスを利用する際、関連するキャラクターの知的財産権を尊重し、第三者の知的財産権を侵害しないよう確保する必要があります。\n\n2. **ユーザー生成コンテンツ(UGC)**:ユーザーが本プラットフォームを通じて生成した音声コンテンツ(以下「UGC」という)は、ユーザー自身の責任であり、本プラットフォームとは無関係です。本プラットフォームはユーザーが生成した具体的なコンテンツを制御または審査することはできず、UGCの正確性、完全性、または合法性について一切の責任を負いません。\n\n3. **使用制��**:本サービスで生成された音声およびそのUGCは個人使用に限定され、商業目的での使用は禁止されています。本プラットフォームの事前の書面による同意なしに、生成されたコンテンツを商業活動に使用することは禁止されています。\n\n4. **法的責任**:ユーザーが本サービスを利用することによって生じるいかなる法的責任も、ユーザー自身が負うものとし、本プラットフォームとは無関係です。ユーザーのサービス利用またはそのUGCに起因するいかなる紛争や損失についても、本プラットフォームは一切の責任を負いません。\n\n5. **著作権声明**:ユーザーは創作物を尊重し、他人の著作権を侵害するコンテンツを本サービスで生成してはいけません。ユーザーが生成したコンテンツが他人の著作権を侵害していることが発見された場合、本プラットフォームはただちにサービスの提供を停止する権利を有し、法的責任を追及する権利を留保します。\n\n6. **コンテンツ監視**:本プラットフォームはUGCを制御できませんが、本免責事項や法律規制に違反するコンテンツが発見された場合、本プラットフォームは必要な措置を講じます。これには違反コンテンツの削除や関係機関との調査協力が含まれますが、これらに限定されません。\n\n7. **表示要件**:ユーザーは生成されたコンテンツの目立つ位置に、可能な限り「このコンテンツはRubiiTTSによって生成されました」または類似の説明を表示する必要があります。ユーザーはこの表示行為が本条項の要件に適合していることを確認する必要があります。\n\nユーザーが本ウェブサイトを利用することは、上記の免責事項に同意したことを意味します。ご質問がある場合は、[email protected]までお問い合わせください。\n\n**最終的な解釈権は本ウェブサイトに帰属します。**"
 
82
  "Delete": "삭제",
83
  "Text to synthesize": "합성할 텍스트",
84
  "🎉 Synthesize Voice 🎉": "🎉 음성 합성 🎉",
85
+ "Reference audio for synthesis": "합성에 사용되는 참조 오디오",
86
  "Output audio": "출력된 음성",
87
  "Synthesis time": "합성 시간",
88
  "## Disclaimer\n\nThe voice synthesis service provided by this website (hereinafter referred to as the \"Service\") is intended for personal use and entertainment purposes. Before using this Service, please carefully read and fully understand the following terms:\n\n1. **Character Copyright**: The character images used on this website may involve third-party intellectual property rights. This website does not own the copyrights to these characters. Users should respect the intellectual property rights of the relevant characters when using the Service and ensure that their actions do not infringe upon any third-party intellectual property rights.\n\n2. **User-Generated Content (UGC)**: The voice content generated by users through this platform (hereinafter referred to as \"UGC\") is the sole responsibility of the users and is not related to this platform. This platform cannot control or review the specific content generated by users and does not assume any responsibility for the accuracy, completeness, or legality of UGC.\n\n3. **Usage Restrictions**: The voices and their UGC generated by this Service are limited to personal use only and may not be used for any commercial purposes. It is prohibited to use the generated content for any commercial activities without prior written consent from this platform.\n\n4. **Legal Responsibility**: Any legal responsibility arising from the use of this Service by users shall be borne by the users themselves and is not related to this platform. This platform does not assume any responsibility for any disputes or losses caused by users' use of the Service or their UGC.\n\n5. **Copyright Statement**: Users should respect original creations and must not use this Service to generate content that infringes upon others' copyrights. If user-generated content is found to infringe upon others' copyrights, this platform reserves the right to immediately cease providing services to them and reserves the right to pursue legal action.\n\n6. **Content Moderation**: Although this platform cannot control UGC, once content that violates this disclaimer or laws and regulations is discovered, this platform will take necessary measures, including but not limited to deleting the violating content and cooperating with relevant authorities in investigations.\n\n7. **Attribution Requirement**: Users should, where possible, prominently indicate \"This content was generated by RubiiTTS\" or a similar statement in the generated content. Users should ensure that the attribution complies with the requirements of these terms.\n\nBy using this website, users agree to the above disclaimer. If you have any questions, please contact us at [email protected].\n\n**The final interpretation right belongs to this website.**": "## 면책 조항\n\n본 웹사이트에서 제공하는 음성 합성 서비스(이하 \"서비스\")는 개인 사용 및 엔터테인먼트 목적으로 제공됩니다. 본 서비스를 사용하기 전에 사용자는 다음 조항을 주의 깊게 읽고 충분히 이해해야 합니다:\n\n1. **캐릭터 저작권**: 본 웹사이트에서 사용되는 캐릭터 이미지는 제3자의 지적 재산권과 관련될 수 있습니다. 본 웹사이트는 이러한 캐릭터들의 저작권을 소유하고 있지 않습니다. 사용자는 서비스를 사용할 때 관련 캐릭터의 지적 재산권을 존중해야 하며, 제3자의 지적 재산권을 침해하지 않도록 해야 합니다.\n\n2. **사용자 생성 콘텐츠(UGC)**: 사용자가 본 플랫폼을 통해 생성한 음성 콘텐츠(이하 \"UGC\")는 사용자 본인의 책임이며, 본 플랫폼과는 무관합니다. 본 플랫폼은 사용자가 생성한 구체적인 내용을 통제하거나 검토할 수 없으며, UGC의 정확성, 완전성 또는 합법성에 대해 어떠한 책임도 지지 않습니다.\n\n3. **사용 제한**: 본 서비스에서 생성된 음성 및 UGC는 개인 사용에 한정되며, 상업적 목적으로 사용할 수 없습니다. 본 플랫폼의 사전 서면 동의 없이 생성된 콘텐츠를 상업적 활동에 사용하는 것은 금지됩니다.\n\n4. **법적 책임**: 사용자가 본 서비스를 사용함으로써 발생하는 모든 법적 책임은 사용자 본인이 부담하며, 본 플랫폼과는 무관합니다. 사용자의 서비스 사용 또는 UGC로 인해 발생하는 모든 분쟁이나 손실에 대해 본 플랫폼은 어떠한 책임도 지지 않습니다.\n\n5. **저작권 선언**: 사용자는 창작물을 존중해야 하며, 본 서비스를 사용하여 타인의 저작권을 침해하는 콘텐츠를 생성해서는 안 됩니다. 사용자가 생성한 콘텐츠가 타인의 저작권을 침해한 것이 발견될 경우, 본 플랫폼은 즉시 서비스 제공을 중단할 권리가 있으며, 법적 책임을 추궁할 권리를 보유합니다.\n\n6. **콘텐츠 관리**: 본 플랫폼은 UGC를 통제할 수 없지만, 본 면책 조항이나 법규를 위반하는 내용이 발견될 경우, 본 플랫폼은 필요한 조치를 취할 것입니다. 이는 위반 콘텐츠 삭제 및 관련 부서와의 조사 협력을 포함하지만 이에 국한되지 않습니다.\n\n7. **표시 요구 사항**: 사용자는 생성된 콘텐츠의 눈에 띄는 위치에 가능한 한 \"이 콘텐츠는 RubiiTTS에 의해 생성되었습니다\" 또는 유사한 설명을 표시해야 합니다. 사용자는 이 표시 행위가 본 조항의 요구 사항을 준수하는지 확인해야 합니다.\n\n사용자가 본 웹사이트를 사용하는 것은 위의 면책 조항에 동의한다는 의미입니다. 문의 사항이 있으시면 [email protected]로 연락해 주시기 바랍니다.\n\n**최종 해석권은 본 웹사이트에 있습니다.**"