tykiww commited on
Commit
bbca73f
·
verified ·
1 Parent(s): c8c4112

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -3
app.py CHANGED
@@ -51,12 +51,19 @@ def main(conf):
51
 
52
  # User config page
53
  with gr.TabItem(conf["layout"]["page_names"][1]):
54
- gr.Markdown("# Upload Transcript and Necessary Context")
55
- gr.Markdown("Please wait as the transcript is being processed.")
 
 
 
 
 
 
 
56
  load_file = gr.UploadButton(label="Upload Transcript (.vtt)",
57
  file_types=[".vtt"],
58
  file_count='multiple')
59
- goals = gr.Textbox(label="Project Goals",
60
  value=conf["defaults"]["goals"]) # not incorporated yet. Will be with Q&A.
61
  repository = gr.Textbox(label="Progress", value="Waiting for load...", visible=True)
62
  load_file.upload(process_transcripts, [load_file, goals], repository)
 
51
 
52
  # User config page
53
  with gr.TabItem(conf["layout"]["page_names"][1]):
54
+ gr.Markdown("# Your user Configurations")
55
+ gr.Markdown("""Generate a unique key to upload your personal transcripts.
56
+ Your documents will be queryable for 3 hours after generation.
57
+ Or, go straight to the next tab to just ask your question to the
58
+ meetings that are already included!""")
59
+ create_unique_key = gr.Button(label="Generate unique key")
60
+ output_unique_key = gr.Textbox(label="Your session key & time.")
61
+
62
+ gr.Markdown("### Upload Transcript and Necessary Context")
63
  load_file = gr.UploadButton(label="Upload Transcript (.vtt)",
64
  file_types=[".vtt"],
65
  file_count='multiple')
66
+ goals = gr.Textbox(label="Analysis Goals",
67
  value=conf["defaults"]["goals"]) # not incorporated yet. Will be with Q&A.
68
  repository = gr.Textbox(label="Progress", value="Waiting for load...", visible=True)
69
  load_file.upload(process_transcripts, [load_file, goals], repository)