gregorlied commited on
Commit
87c7747
Β·
verified Β·
1 Parent(s): 90e95e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -121,15 +121,6 @@ with gr.Blocks() as demo:
121
  placeholder="Paste your clinical report here...",
122
  )
123
 
124
- with gr.Row():
125
- summarize_btn = gr.Button("Summarize")
126
- summarize_btn.click(
127
- fn=summarize,
128
- inputs=input_text,
129
- outputs=output_text,
130
- show_progress=True,
131
- )
132
-
133
  with gr.Row():
134
  output_text = gr.Textbox(
135
  label="Summary",
@@ -139,6 +130,15 @@ with gr.Blocks() as demo:
139
  show_copy_button=True,
140
  )
141
 
 
 
 
 
 
 
 
 
 
142
  with gr.Row():
143
  examples = gr.Examples(
144
  label="Examples",
 
121
  placeholder="Paste your clinical report here...",
122
  )
123
 
 
 
 
 
 
 
 
 
 
124
  with gr.Row():
125
  output_text = gr.Textbox(
126
  label="Summary",
 
130
  show_copy_button=True,
131
  )
132
 
133
+ with gr.Row():
134
+ summarize_btn = gr.Button("Summarize")
135
+ summarize_btn.click(
136
+ fn=summarize,
137
+ inputs=input_text,
138
+ outputs=output_text,
139
+ show_progress=True,
140
+ )
141
+
142
  with gr.Row():
143
  examples = gr.Examples(
144
  label="Examples",