Update app.py
Browse files
app.py
CHANGED
@@ -25,18 +25,18 @@ source_lang_list.extend(languages.keys())
|
|
25 |
@click.option("--debug", is_flag=True, default=False, help="Enable debug mode.")
|
26 |
@click.option("--share", is_flag=True, default=False, help="Enable sharing of the interface.")
|
27 |
def main(debug, share):
|
28 |
-
description = """"""
|
29 |
gr.Markdown(description)
|
30 |
|
31 |
# Define Gradio inputs and outputs
|
32 |
-
|
33 |
["This is just the beginning of the journey of HundAI Solutions, HundAI will continue to build AI tools for Hund Ecosystem.", "English", "Female"],
|
34 |
-
["これは、HundAIソリューションの旅の始まりに過ぎません。HundAIはHundエコシステムのためにAIツールを構築し続けます。", "Japanese", "
|
35 |
["Это только начало пути HundAI Solutions. HundAI будет продолжать создавать AI-инструменты для экосистемы Hund.", "Russian", "Female"],
|
36 |
["Bu, HundAI Çözümleri yolculuğunun sadece başlangıcıdır. HundAI, Hund Ekosistemi için AI araçları oluşturmaya devam edecektir.", "Turkish", "Female"],
|
37 |
-
["这只是HundAI解决方案旅程的开始。HundAI将继续为Hund生态系统构建AI工具。", "Chinese", "
|
38 |
]
|
39 |
-
|
40 |
gradio_inputs = [
|
41 |
gr.Textbox(label="Enter Text", lines=3, placeholder="Enter your text here..."),
|
42 |
gr.Dropdown(label="Language", choices=source_lang_list, value="English"),
|
@@ -65,4 +65,3 @@ def main(debug, share):
|
|
65 |
|
66 |
if __name__ == "__main__":
|
67 |
main()
|
68 |
-
|
|
|
25 |
@click.option("--debug", is_flag=True, default=False, help="Enable debug mode.")
|
26 |
@click.option("--share", is_flag=True, default=False, help="Enable sharing of the interface.")
|
27 |
def main(debug, share):
|
28 |
+
description = """""""
|
29 |
gr.Markdown(description)
|
30 |
|
31 |
# Define Gradio inputs and outputs
|
32 |
+
example = [
|
33 |
["This is just the beginning of the journey of HundAI Solutions, HundAI will continue to build AI tools for Hund Ecosystem.", "English", "Female"],
|
34 |
+
["これは、HundAIソリューションの旅の始まりに過ぎません。HundAIはHundエコシステムのためにAIツールを構築し続けます。", "Japanese", "Female"],
|
35 |
["Это только начало пути HundAI Solutions. HundAI будет продолжать создавать AI-инструменты для экосистемы Hund.", "Russian", "Female"],
|
36 |
["Bu, HundAI Çözümleri yolculuğunun sadece başlangıcıdır. HundAI, Hund Ekosistemi için AI araçları oluşturmaya devam edecektir.", "Turkish", "Female"],
|
37 |
+
["这只是HundAI解决方案旅程的开始。HundAI将继续为Hund生态系统构建AI工具。", "Chinese", "Female"]
|
38 |
]
|
39 |
+
|
40 |
gradio_inputs = [
|
41 |
gr.Textbox(label="Enter Text", lines=3, placeholder="Enter your text here..."),
|
42 |
gr.Dropdown(label="Language", choices=source_lang_list, value="English"),
|
|
|
65 |
|
66 |
if __name__ == "__main__":
|
67 |
main()
|
|