matthoffner commited on
Commit
fd9ea07
·
1 Parent(s): 6f31d2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=["GPTListIndex", "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():
 
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():