jisukim8873
commited on
Commit
•
598e486
1
Parent(s):
c968835
test2
Browse files
app.py
CHANGED
@@ -86,16 +86,16 @@ with gr.Blocks() as demo:
|
|
86 |
gr.Markdown("KoTAN: Korean Translation and Augmentation with fine-tuned NLLB. You can exercise translation tasks, and speech-style conversion. \
|
87 |
If you want to download as pip package, please visit our github. (https://github.com/KoJLabs/KoTAN)")
|
88 |
|
89 |
-
with gr.Tab("Translation"):
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
|
100 |
with gr.Tab("Speech-style conversion"):
|
101 |
translator_app = gr.Interface(
|
|
|
86 |
gr.Markdown("KoTAN: Korean Translation and Augmentation with fine-tuned NLLB. You can exercise translation tasks, and speech-style conversion. \
|
87 |
If you want to download as pip package, please visit our github. (https://github.com/KoJLabs/KoTAN)")
|
88 |
|
89 |
+
# with gr.Tab("Translation"):
|
90 |
+
# translator_app = gr.Interface(
|
91 |
+
# fn=translate,
|
92 |
+
# inputs=[gr.inputs.Dropdown(choices=lang, label='Source Language'), gr.inputs.Dropdown(choices=lang, label='Target Language'), gr.inputs.Textbox(lines=5, label='Text to Translate')],
|
93 |
+
# outputs=[gr.outputs.Textbox(label='Translated Text')],
|
94 |
+
# title=title,
|
95 |
+
# # description = 'KoTAN: Korean Translation and Augmentation with fine-tuned NLLB. If you want to download as pip package, please visit our github. (https://github.com/KoJLabs/KoTAN)',
|
96 |
+
# # article='Jisu, Kim. Juhwan, Lee',
|
97 |
+
# enable_queue=True,
|
98 |
+
# )
|
99 |
|
100 |
with gr.Tab("Speech-style conversion"):
|
101 |
translator_app = gr.Interface(
|