Spaces:
Paused
Paused
Commit
·
fd9ea07
1
Parent(s):
6f31d2d
Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,8 @@ with gr.Blocks(css="") as demo:
|
|
22 |
with gr.Tab("Upload"):
|
23 |
with gr.Row():
|
24 |
with gr.Column():
|
25 |
-
index_type = gr.Dropdown(choices=["
|
26 |
-
upload_file = gr.Files(label="upload_file .txt, .pdf, .epub
|
27 |
new_index_name = gr.Textbox(placeholder="new_index_name: ", show_label=False).style(container=False)
|
28 |
construct_btn = gr.Button("⚒️ Index", variant="primary")
|
29 |
with gr.Row():
|
|
|
22 |
with gr.Tab("Upload"):
|
23 |
with gr.Row():
|
24 |
with gr.Column():
|
25 |
+
index_type = gr.Dropdown(choices=["GPTVectorStoreIndex"], label="index_type", value="GPTVectorStoreIndex")
|
26 |
+
upload_file = gr.Files(label="upload_file .txt, .pdf, .epub")
|
27 |
new_index_name = gr.Textbox(placeholder="new_index_name: ", show_label=False).style(container=False)
|
28 |
construct_btn = gr.Button("⚒️ Index", variant="primary")
|
29 |
with gr.Row():
|