Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -82,10 +82,11 @@ def main(conf):
|
|
82 |
create_unique_key.click(fn=generate_key,
|
83 |
outputs=output_unique_key)
|
84 |
|
|
|
85 |
gr.Markdown("### Upload Transcript and Necessary Context")
|
86 |
load_file = gr.UploadButton(label="Upload Transcript (.vtt)",
|
87 |
file_types=[".vtt"],
|
88 |
-
file_count='multiple')
|
89 |
goals = gr.Textbox(label="Analysis Goals",
|
90 |
value=conf["defaults"]["goals"]) # not incorporated yet. Will be with Q&A.
|
91 |
repository = gr.Textbox(label="Progress", value="Waiting for load...", visible=True)
|
|
|
82 |
create_unique_key.click(fn=generate_key,
|
83 |
outputs=output_unique_key)
|
84 |
|
85 |
+
### This should not be visible until key is generated.
|
86 |
gr.Markdown("### Upload Transcript and Necessary Context")
|
87 |
load_file = gr.UploadButton(label="Upload Transcript (.vtt)",
|
88 |
file_types=[".vtt"],
|
89 |
+
file_count='multiple', interactive=False)
|
90 |
goals = gr.Textbox(label="Analysis Goals",
|
91 |
value=conf["defaults"]["goals"]) # not incorporated yet. Will be with Q&A.
|
92 |
repository = gr.Textbox(label="Progress", value="Waiting for load...", visible=True)
|