Spaces:
Sleeping
Sleeping
update column size
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ with gr.Blocks() as demo:
|
|
15 |
with gr.Row():
|
16 |
with gr.Column(scale=1):
|
17 |
pass
|
18 |
-
with gr.Column(scale=4):
|
19 |
gr.Image("logo_transparent_small.png", elem_id="logo", show_label=False, width=300)
|
20 |
gr.Markdown(
|
21 |
"""
|
@@ -29,7 +29,7 @@ with gr.Blocks() as demo:
|
|
29 |
with gr.Row():
|
30 |
with gr.Column(scale=1):
|
31 |
pass
|
32 |
-
with gr.Column(scale=4):
|
33 |
inp_text = gr.Textbox(lines=5, placeholder="Enter text (maximum 5 lines)", label="Input")
|
34 |
direction = gr.Radio(choices=['en->ss', 'ss->en'], label='Direction')
|
35 |
translate_button = gr.Button("Translate")
|
@@ -41,7 +41,7 @@ with gr.Blocks() as demo:
|
|
41 |
with gr.Row():
|
42 |
with gr.Column(scale=1):
|
43 |
pass
|
44 |
-
with gr.Column(scale=4):
|
45 |
gr.Markdown(
|
46 |
"""
|
47 |
<div style='text-align: center;'>
|
|
|
15 |
with gr.Row():
|
16 |
with gr.Column(scale=1):
|
17 |
pass
|
18 |
+
with gr.Column(scale=4, min_width=1000):
|
19 |
gr.Image("logo_transparent_small.png", elem_id="logo", show_label=False, width=300)
|
20 |
gr.Markdown(
|
21 |
"""
|
|
|
29 |
with gr.Row():
|
30 |
with gr.Column(scale=1):
|
31 |
pass
|
32 |
+
with gr.Column(scale=4, min_width=1000):
|
33 |
inp_text = gr.Textbox(lines=5, placeholder="Enter text (maximum 5 lines)", label="Input")
|
34 |
direction = gr.Radio(choices=['en->ss', 'ss->en'], label='Direction')
|
35 |
translate_button = gr.Button("Translate")
|
|
|
41 |
with gr.Row():
|
42 |
with gr.Column(scale=1):
|
43 |
pass
|
44 |
+
with gr.Column(scale=4, min_width=1000):
|
45 |
gr.Markdown(
|
46 |
"""
|
47 |
<div style='text-align: center;'>
|