Spaces:
Build error
Build error
adding markdown
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def translate_text_text(input_text, input_dest_lang):
|
|
35 |
|
36 |
with gr.Blocks() as demo:
|
37 |
with gr.Column():
|
38 |
-
|
39 |
translated_text_json = gr.Textbox(label="Translated Text for JSON file")
|
40 |
input_json = gr.File(label="Upload JSON file")
|
41 |
|
@@ -46,6 +46,7 @@ with gr.Blocks() as demo:
|
|
46 |
[translated_text_json]
|
47 |
)
|
48 |
with gr.Column():
|
|
|
49 |
translated_text_text = gr.Textbox(label="Translated Text for Input Text and Dest Lang")
|
50 |
input_dest_lang = gr.Textbox(placeholder='Example input: vi', label="Destination Language")
|
51 |
input_text = gr.Textbox(placeholder='Example inputs: I love you, I love you than myself',
|
|
|
35 |
|
36 |
with gr.Blocks() as demo:
|
37 |
with gr.Column():
|
38 |
+
gr.Markdown("# Translator For Upload JSON file")
|
39 |
translated_text_json = gr.Textbox(label="Translated Text for JSON file")
|
40 |
input_json = gr.File(label="Upload JSON file")
|
41 |
|
|
|
46 |
[translated_text_json]
|
47 |
)
|
48 |
with gr.Column():
|
49 |
+
gr.Markdown("# Translator For Input Text and Destination Language")
|
50 |
translated_text_text = gr.Textbox(label="Translated Text for Input Text and Dest Lang")
|
51 |
input_dest_lang = gr.Textbox(placeholder='Example input: vi', label="Destination Language")
|
52 |
input_text = gr.Textbox(placeholder='Example inputs: I love you, I love you than myself',
|