Spaces:
Runtime error
Runtime error
layout complete
Browse files
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=
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
|
91 |
-
|
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,
|