VyLala commited on
Commit
5d421a2
·
verified ·
1 Parent(s): 46a2f39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -63,10 +63,6 @@ with gr.Blocks() as interface:
63
  #output_type = gr.Dropdown(choices=["Excel", "JSON", "TXT"], label="Select Output Format", value="Excel")
64
  #download_button = gr.Button("⬇️ Download Output")
65
  #download_file = gr.File(label="Download File Here",visible=False)
66
- nps_question = gr.Markdown("#### 📝 How likely are you to recommend this tool to a colleague or peer (0 = Not at all, 10 = Definitely)?")
67
- nps_slider = gr.Slider(minimum=0, maximum=10, step=1, label="Your NPS Score (0-10)")
68
- nps_button = gr.Button("Submit NPS")
69
- nps_output = gr.Textbox(label="Thanks for your feedback!")
70
 
71
  report_button = gr.Button("Report")
72
  report_textbox = gr.Textbox(
@@ -76,6 +72,11 @@ with gr.Blocks() as interface:
76
  visible=False)
77
  submit_report_button = gr.Button("Submit", visible=False)
78
  status_report = gr.Markdown(visible=False)
 
 
 
 
 
79
 
80
  download_file = gr.File(label="Download File Here", visible=False, interactive=True)
81
  progress_box = gr.Textbox(label="Live Processing Log", lines=20, interactive=False)
 
63
  #output_type = gr.Dropdown(choices=["Excel", "JSON", "TXT"], label="Select Output Format", value="Excel")
64
  #download_button = gr.Button("⬇️ Download Output")
65
  #download_file = gr.File(label="Download File Here",visible=False)
 
 
 
 
66
 
67
  report_button = gr.Button("Report")
68
  report_textbox = gr.Textbox(
 
72
  visible=False)
73
  submit_report_button = gr.Button("Submit", visible=False)
74
  status_report = gr.Markdown(visible=False)
75
+
76
+ nps_question = gr.Markdown("### How likely are you to recommend this tool to a colleague or peer (0 = Not at all, 10 = Definitely)?")
77
+ nps_slider = gr.Slider(minimum=0, maximum=10, step=1, label="Your NPS Score (0-10)")
78
+ nps_button = gr.Button("Submit NPS")
79
+ nps_output = gr.Textbox(label="Thanks for your feedback!")
80
 
81
  download_file = gr.File(label="Download File Here", visible=False, interactive=True)
82
  progress_box = gr.Textbox(label="Live Processing Log", lines=20, interactive=False)