VyLala commited on
Commit
d3868b6
·
verified ·
1 Parent(s): 454da64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -75,7 +75,7 @@ with gr.Blocks() as interface:
75
 
76
  status = gr.Markdown(visible=False)
77
 
78
- with gr.Group(visible=False, elem_id="nps-overlay", interactive=True) as nps_modal:
79
  with gr.Column(elem_id="nps-box"):
80
  gr.Markdown("### How likely are you to recommend this tool to a colleague or peer?")
81
  nps_slider = gr.Slider(minimum=0, maximum=10, step=1, label="Select score: 0-10 (0-6: not likely or low; 7-8: neutral; 9-10: likely or highly)")
@@ -473,6 +473,7 @@ with gr.Blocks() as interface:
473
  processed_accessions = 0 # ✅ track successful accessions
474
  email_tracked = False
475
  log_lines = []
 
476
  if not email.strip():
477
  output_file_path = None#"Write your email so that you can download the outputs."
478
  log_lines.append("📥 Provide your email to receive a downloadable Excel report and get 20 more free queries.")
 
75
 
76
  status = gr.Markdown(visible=False)
77
 
78
+ with gr.Group(visible=False, elem_id="nps-overlay") as nps_modal:
79
  with gr.Column(elem_id="nps-box"):
80
  gr.Markdown("### How likely are you to recommend this tool to a colleague or peer?")
81
  nps_slider = gr.Slider(minimum=0, maximum=10, step=1, label="Select score: 0-10 (0-6: not likely or low; 7-8: neutral; 9-10: likely or highly)")
 
473
  processed_accessions = 0 # ✅ track successful accessions
474
  email_tracked = False
475
  log_lines = []
476
+ usage_text = ""
477
  if not email.strip():
478
  output_file_path = None#"Write your email so that you can download the outputs."
479
  log_lines.append("📥 Provide your email to receive a downloadable Excel report and get 20 more free queries.")