Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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("#
|
55 |
-
gr.Markdown("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
load_file = gr.UploadButton(label="Upload Transcript (.vtt)",
|
57 |
file_types=[".vtt"],
|
58 |
file_count='multiple')
|
59 |
-
goals = gr.Textbox(label="
|
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)
|