tykiww commited on
Commit
0f7ad5c
·
verified ·
1 Parent(s): 5330115

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -89,18 +89,19 @@ def main(conf):
89
 
90
 
91
  ### This should not be visible until key is generated.
92
- gr.Markdown("### Upload Transcript and Necessary Context")
93
  load_file = gr.UploadButton(label="Upload Transcript (.vtt)",
94
  file_types=[".vtt"],
95
  file_count='multiple', interactive=False)
96
- goals = gr.Textbox(label="Analysis Goals",
97
- value=conf["defaults"]["goals"]) # not incorporated yet. Will be with Q&A.
98
  repository = gr.Textbox(label="Progress", value="Waiting for load...", visible=True)
99
  load_file.upload(process_transcripts, [load_file, goals, output_unique_key], repository)
100
  create_unique_key.click(fn=b_clicked,
101
  inputs=create_unique_key,
102
  outputs=load_file)
103
-
 
 
 
104
 
105
  # Meeting Question & Answer Page
106
  with gr.TabItem(conf["layout"]["page_names"][2]):
 
89
 
90
 
91
  ### This should not be visible until key is generated.
92
+
93
  load_file = gr.UploadButton(label="Upload Transcript (.vtt)",
94
  file_types=[".vtt"],
95
  file_count='multiple', interactive=False)
 
 
96
  repository = gr.Textbox(label="Progress", value="Waiting for load...", visible=True)
97
  load_file.upload(process_transcripts, [load_file, goals, output_unique_key], repository)
98
  create_unique_key.click(fn=b_clicked,
99
  inputs=create_unique_key,
100
  outputs=load_file)
101
+ gr.Markdown("### Additional context you want to provide?")
102
+ gr.Markdown("Try to keep this portion as concise as possible.")
103
+ goals = gr.Textbox(label="Analysis Goals",
104
+ value=conf["defaults"]["goals"]) # not incorporated yet. Will be with Q&A.
105
 
106
  # Meeting Question & Answer Page
107
  with gr.TabItem(conf["layout"]["page_names"][2]):