上传本地csv
Browse files- app.py +2 -2
- i18n/characters_en.csv +0 -0
- i18n/characters_ja.csv +0 -0
- i18n/characters_ko.csv +0 -0
- i18n/characters_zh.csv +0 -0
app.py
CHANGED
@@ -27,8 +27,8 @@ header = "## 🎉 Welcome to Rubii Voice Synthesis System 🎉\n \n#### [
|
|
27 |
terms = "## 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 contact@yomio.ai.\n\n**The final interpretation right belongs to this website.**"
|
28 |
|
29 |
def load_characters_csv(lang):
|
30 |
-
name = f"characters_{lang}"
|
31 |
-
return pd.read_csv(
|
32 |
|
33 |
def update_all_characters(lang, current_all_characters):
|
34 |
new_characters = load_characters_csv(lang)
|
|
|
27 |
terms = "## 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 contact@yomio.ai.\n\n**The final interpretation right belongs to this website.**"
|
28 |
|
29 |
def load_characters_csv(lang):
|
30 |
+
name = os.path.join(os.path.dirname(__file__), "i18n", f"characters_{lang}.csv")
|
31 |
+
return pd.read_csv(name)
|
32 |
|
33 |
def update_all_characters(lang, current_all_characters):
|
34 |
new_characters = load_characters_csv(lang)
|
i18n/characters_en.csv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
i18n/characters_ja.csv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
i18n/characters_ko.csv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
i18n/characters_zh.csv
ADDED
The diff for this file is too large to render.
See raw diff
|
|