gregorlied commited on
Commit
1e605b1
·
verified ·
1 Parent(s): ceaa48d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -14
app.py CHANGED
@@ -36,20 +36,22 @@ with gr.Blocks() as demo:
36
  gr.Markdown("## 📝 Summarization for News, SciTLDR and Dialog Texts")
37
 
38
  with gr.Row():
39
- input_text = gr.Textbox(
40
- label="Input Text",
41
- autoscroll=False,
42
- lines=15,
43
- max_lines=15,
44
- placeholder="Paste your article or paragraph here...",
45
- )
46
- output_text = gr.Textbox(
47
- label="Summary",
48
- autoscroll=False,
49
- lines=15,
50
- max_lines=15,
51
- show_copy_button=True,
52
- )
 
 
53
 
54
  with gr.Row():
55
  summarize_btn = gr.Button("Summarize")
 
36
  gr.Markdown("## 📝 Summarization for News, SciTLDR and Dialog Texts")
37
 
38
  with gr.Row():
39
+ with gr.Column():
40
+ input_text = gr.Textbox(
41
+ label="Input Text",
42
+ autoscroll=False,
43
+ lines=15,
44
+ max_lines=15,
45
+ placeholder="Paste your article or paragraph here...",
46
+ )
47
+ with gr.Column():
48
+ output_text = gr.Textbox(
49
+ label="Summary",
50
+ autoscroll=False,
51
+ lines=15,
52
+ max_lines=15,
53
+ show_copy_button=True,
54
+ )
55
 
56
  with gr.Row():
57
  summarize_btn = gr.Button("Summarize")