Pal-Lab commited on
Commit
e4d1c06
·
1 Parent(s): 43e509a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -289,6 +289,8 @@ with gr.Blocks() as demo:
289
  abst_button = gr.Button("Generate!")
290
  text29 = gr.Textbox(lines=2, label="Answer")
291
 
 
 
292
  cq_button.click(generate_clinical_query_solution, inputs=[text0, text1, text2, text3, text4], outputs=text5)
293
  intro_button.click(generate_intro_draft, inputs=[text0, free_text, text6,text7, text8, text9, text4], outputs=text10)
294
  meth_button.click(generate_method_draft, inputs=[text0, text11, text12, text13, text14, text15, text16, text17, text18, text19, text20, text21, text4], outputs=text22)
@@ -296,7 +298,6 @@ with gr.Blocks() as demo:
296
  disc_button.click(generate_discussions_draft, inputs=[text0, text25, text4], outputs=text26)
297
  disc2_button.click(generate_discussions_draft_morita_style, inputs=[text0, text25, text4], outputs=text26)
298
  abst_button.click(generate_abstract, inputs=[text0, text27, text28, text4], outputs=text29)
299
- with gr.Column(scale=1):
300
- with gr.Markdown(disclaimer):
301
 
302
  demo.launch()
 
289
  abst_button = gr.Button("Generate!")
290
  text29 = gr.Textbox(lines=2, label="Answer")
291
 
292
+ gr.Markdown(disclaimer):
293
+
294
  cq_button.click(generate_clinical_query_solution, inputs=[text0, text1, text2, text3, text4], outputs=text5)
295
  intro_button.click(generate_intro_draft, inputs=[text0, free_text, text6,text7, text8, text9, text4], outputs=text10)
296
  meth_button.click(generate_method_draft, inputs=[text0, text11, text12, text13, text14, text15, text16, text17, text18, text19, text20, text21, text4], outputs=text22)
 
298
  disc_button.click(generate_discussions_draft, inputs=[text0, text25, text4], outputs=text26)
299
  disc2_button.click(generate_discussions_draft_morita_style, inputs=[text0, text25, text4], outputs=text26)
300
  abst_button.click(generate_abstract, inputs=[text0, text27, text28, text4], outputs=text29)
301
+
 
302
 
303
  demo.launch()