MeetJivani commited on
Commit
bad8295
·
1 Parent(s): 5b09c33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -502,7 +502,7 @@ if __name__ == "__main__":
502
  # )
503
  gr.Markdown("## Load Inputs & Select Parameters")
504
  gr.Markdown(
505
- """Enter/paste text below, or upload a file. Pick a model & adjust params (_optional_), and press **Summarize!**
506
  """
507
  )
508
  with gr.Row(variant="compact"):
@@ -551,9 +551,9 @@ if __name__ == "__main__":
551
  # gr.Markdown("## Generate Summary")
552
  with gr.Row():
553
  summarize_button = gr.Button(
554
- "Generate Summary!",
555
- variant="primary",
556
- )
557
  # gr.Markdown(
558
  # "_Summarization should take ~1-2 minutes for most settings, but may extend up to 5-10 minutes in some scenarios._"
559
  # )
@@ -571,14 +571,14 @@ if __name__ == "__main__":
571
  type="file",
572
  interactive=False,
573
  )
574
- with gr.Column(variant="compact"):
575
- gr.Markdown(
576
- "Scores **roughly** represent the summary quality as a measure of the model's 'confidence'. less-negative numbers (closer to 0) are better."
577
- )
578
- summary_scores = gr.Textbox(
579
- label="Summary Scores",
580
- placeholder="Summary scores will appear here",
581
- )
582
  with gr.Column(variant="panel"):
583
  gr.Markdown("### **Summary Output**")
584
  summary_text = gr.HTML(
 
502
  # )
503
  gr.Markdown("## Load Inputs & Select Parameters")
504
  gr.Markdown(
505
+ """Enter/paste text below, or upload a file. Pick a model & adjust params (_optional_), and press **Generate Summary!**
506
  """
507
  )
508
  with gr.Row(variant="compact"):
 
551
  # gr.Markdown("## Generate Summary")
552
  with gr.Row():
553
  summarize_button = gr.Button(
554
+ "Generate Summary",
555
+ variant="primary",
556
+ )
557
  # gr.Markdown(
558
  # "_Summarization should take ~1-2 minutes for most settings, but may extend up to 5-10 minutes in some scenarios._"
559
  # )
 
571
  type="file",
572
  interactive=False,
573
  )
574
+ # with gr.Column(variant="compact"):
575
+ # gr.Markdown(
576
+ # "Scores **roughly** represent the summary quality as a measure of the model's 'confidence'. less-negative numbers (closer to 0) are better."
577
+ # )
578
+ # summary_scores = gr.Textbox(
579
+ # label="Summary Scores",
580
+ # placeholder="Summary scores will appear here",
581
+ # )
582
  with gr.Column(variant="panel"):
583
  gr.Markdown("### **Summary Output**")
584
  summary_text = gr.HTML(