jisukim8873 commited on
Commit
598e486
1 Parent(s): c968835
Files changed (1) hide show
  1. app.py +10 -10
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
- 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(
 
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(