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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -94,15 +94,14 @@ def main(conf):
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]):
108
  session_key = gr.Textbox(label="Paste Session key here.",
 
94
  file_types=[".vtt"],
95
  file_count='multiple', interactive=False)
96
  repository = gr.Textbox(label="Progress", value="Waiting for load...", visible=True)
 
 
 
 
97
  gr.Markdown("### Additional context you want to provide?")
98
  gr.Markdown("Try to keep this portion as concise as possible.")
99
  goals = gr.Textbox(label="Analysis Goals",
100
  value=conf["defaults"]["goals"]) # not incorporated yet. Will be with Q&A.
101
+ load_file.upload(process_transcripts, [load_file, goals, output_unique_key], repository)
102
+ create_unique_key.click(fn=b_clicked,
103
+ inputs=create_unique_key,
104
+ outputs=load_file)
105
  # Meeting Question & Answer Page
106
  with gr.TabItem(conf["layout"]["page_names"][2]):
107
  session_key = gr.Textbox(label="Paste Session key here.",