tykiww commited on
Commit
c94b771
·
verified ·
1 Parent(s): cc486b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -87,7 +87,7 @@ def main(conf):
87
 
88
  # User config page
89
  with gr.TabItem(conf["layout"]["page_names"][1]):
90
- gr.Markdown("# Upload your own meeting docs")
91
  create_unique_key = gr.Button("Generate session key")
92
  output_unique_key = gr.Textbox(label="Copy key",
93
  interactive=True ,
@@ -114,9 +114,13 @@ def main(conf):
114
  outputs=load_file)
115
  # Meeting Question & Answer Page
116
  with gr.TabItem(conf["layout"]["page_names"][2]):
117
- session_key = gr.Textbox(label="Paste Session key here.",
 
 
 
118
  value="")
119
-
 
120
  question = gr.Textbox(label="Ask a Question",
121
  value=conf["defaults"]["question"])
122
  ask_button = gr.Button("Ask!")
 
87
 
88
  # User config page
89
  with gr.TabItem(conf["layout"]["page_names"][1]):
90
+ gr.Markdown("# 📁 Upload your own meeting docs")
91
  create_unique_key = gr.Button("Generate session key")
92
  output_unique_key = gr.Textbox(label="Copy key",
93
  interactive=True ,
 
114
  outputs=load_file)
115
  # Meeting Question & Answer Page
116
  with gr.TabItem(conf["layout"]["page_names"][2]):
117
+ gr.Markdown("# Query meeting docs")
118
+ gr.Markdown("""Paste session key below to query your own docs. Otherwise, skip and ask a question to analyze the pre-stored meetings.
119
+ After asking the question an answer will populate along with the meeting snippets retrieved.""")
120
+ session_key = gr.Textbox(label="Session key here",
121
  value="")
122
+
123
+ gr.Markdown("### Query")
124
  question = gr.Textbox(label="Ask a Question",
125
  value=conf["defaults"]["question"])
126
  ask_button = gr.Button("Ask!")