abdiharyadi commited on
Commit
24c312c
β€’
1 Parent(s): d5fa8a1

style: use Column for grouping the object

Browse files
Files changed (1) hide show
  1. app.py +22 -21
app.py CHANGED
@@ -151,27 +151,28 @@ with gr.Blocks() as demo:
151
  )
152
  submit_btn = gr.Button("Submit")
153
 
154
- with gr.Row():
155
- src_amr_graph_output = gr.Textbox(
156
- label="Graf AMR sumber (Source AMR graph)",
157
- min_width=320,
158
- )
159
- triplets_output = gr.Textbox(
160
- label="Triplet (Triplets)",
161
- min_width=320,
162
- )
163
-
164
- with gr.Row():
165
- style_words_output = gr.Textbox(
166
- label="Kata bergaya (Style words)",
167
- min_width=320,
168
- )
169
- tgt_amr_graph_output = gr.Textbox(
170
- label="Graf AMR target (Target AMR graph)",
171
- min_width=320,
172
- )
173
-
174
- result_output = gr.Textbox(label="Hasil (Result)")
 
175
 
176
  with gr.Column():
177
  gr.Markdown("""
 
151
  )
152
  submit_btn = gr.Button("Submit")
153
 
154
+ with gr.Column():
155
+ with gr.Row():
156
+ src_amr_graph_output = gr.Textbox(
157
+ label="Graf AMR sumber (Source AMR graph)",
158
+ min_width=320,
159
+ )
160
+ triplets_output = gr.Textbox(
161
+ label="Triplet (Triplets)",
162
+ min_width=320,
163
+ )
164
+
165
+ with gr.Row():
166
+ style_words_output = gr.Textbox(
167
+ label="Kata bergaya (Style words)",
168
+ min_width=320,
169
+ )
170
+ tgt_amr_graph_output = gr.Textbox(
171
+ label="Graf AMR target (Target AMR graph)",
172
+ min_width=320,
173
+ )
174
+
175
+ result_output = gr.Textbox(label="Hasil (Result)")
176
 
177
  with gr.Column():
178
  gr.Markdown("""