Unggi commited on
Commit
8bfc8f9
1 Parent(s): 2abe40a

layout complete

Browse files
Files changed (1) hide show
  1. app.py +12 -8
app.py CHANGED
@@ -82,15 +82,19 @@ demo = gr.Blocks()
82
  with demo:
83
  gr.Markdown("## Kogpt2 Generation for Writing Education")
84
  with gr.Row():
85
- text_input = gr.Textbox(lines=5, label="Input")
86
- text_output1 = gr.Textbox(lines=5, label="Output1")
87
- text_output2 = gr.Textbox(lines=5, label="Output2")
88
- text_output3 = gr.Textbox(lines=5, label="Output3")
89
- text_button = gr.Button("Generate")
 
 
 
 
 
 
90
 
91
- output1_btn = gr.Button("Select ouput1")
92
- output2_btn = gr.Button("Select ouput2")
93
- output3_btn = gr.Button("Select ouput3")
94
 
95
  text_button.click(
96
  inference,
 
82
  with demo:
83
  gr.Markdown("## Kogpt2 Generation for Writing Education")
84
  with gr.Row():
85
+ text_input = gr.Textbox(lines=20, label="Input")
86
+ with gr.Column():
87
+ with gr.Box():
88
+ text_output1 = gr.Textbox(lines=1, label="Output1")
89
+ output1_btn = gr.Button("Select ouput1")
90
+ with gr.Box():
91
+ text_output2 = gr.Textbox(lines=1, label="Output2")
92
+ output2_btn = gr.Button("Select ouput2")
93
+ with gr.Box():
94
+ text_output3 = gr.Textbox(lines=1, label="Output3")
95
+ output3_btn = gr.Button("Select ouput3")
96
 
97
+ text_button = gr.Button("Generate")
 
 
98
 
99
  text_button.click(
100
  inference,