Commit
·
085de41
1
Parent(s):
bf37b0d
finishgit add app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ translation_app = gr.Interface(
|
|
114 |
fn=translation,
|
115 |
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')],
|
116 |
outputs=[gr.outputs.Textbox(label='Translated Text')],
|
117 |
-
title=
|
118 |
enable_queue=True,
|
119 |
)
|
120 |
|
@@ -122,7 +122,7 @@ augmentation_app = gr.Interface(
|
|
122 |
fn=augmentation,
|
123 |
inputs=[gr.inputs.Textbox(lines=5, label='Korean Text to Augmentation')],
|
124 |
outputs=[gr.outputs.Textbox(label='Augmented Text')],
|
125 |
-
title=
|
126 |
enable_queue=True,
|
127 |
)
|
128 |
|
@@ -130,7 +130,7 @@ conversion_app = gr.Interface(
|
|
130 |
fn=conversion,
|
131 |
inputs=[gr.inputs.Dropdown(choices=style, label='Speech Style'), gr.inputs.Textbox(lines=5, label='Text to style conversion')],
|
132 |
outputs=[gr.outputs.Textbox(label='Converted Text')],
|
133 |
-
title=
|
134 |
enable_queue=True,
|
135 |
)
|
136 |
|
|
|
114 |
fn=translation,
|
115 |
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')],
|
116 |
outputs=[gr.outputs.Textbox(label='Translated Text')],
|
117 |
+
title="Translation",
|
118 |
enable_queue=True,
|
119 |
)
|
120 |
|
|
|
122 |
fn=augmentation,
|
123 |
inputs=[gr.inputs.Textbox(lines=5, label='Korean Text to Augmentation')],
|
124 |
outputs=[gr.outputs.Textbox(label='Augmented Text')],
|
125 |
+
title="Korean Data Augmentation (w.backtranslation)",
|
126 |
enable_queue=True,
|
127 |
)
|
128 |
|
|
|
130 |
fn=conversion,
|
131 |
inputs=[gr.inputs.Dropdown(choices=style, label='Speech Style'), gr.inputs.Textbox(lines=5, label='Text to style conversion')],
|
132 |
outputs=[gr.outputs.Textbox(label='Converted Text')],
|
133 |
+
title="Speech Style Conversion",
|
134 |
enable_queue=True,
|
135 |
)
|
136 |
|