Reverb commited on
Commit
e998351
1 Parent(s): 038fc3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -146,6 +146,8 @@ def demo():
146
  document = gr.Files(height=300, file_count="multiple", file_types=["pdf"], interactive=True, label="Upload PDF documents")
147
  with gr.Row():
148
  db_btn = gr.Button("Create vector database")
 
 
149
  with gr.Row():
150
  db_progress = gr.Textbox(value="Not initialized", show_label=False) # label="Vector database status",
151
  gr.Markdown("<style>body { font-size: 16px; }</style><b>Select Large Language Model (LLM) and input parameters</b>")
 
146
  document = gr.Files(height=300, file_count="multiple", file_types=["pdf"], interactive=True, label="Upload PDF documents")
147
  with gr.Row():
148
  db_btn = gr.Button("Create vector database")
149
+ with gr.Row():
150
+ llm_btn = gr.Radio(list_llm_simple, label="Available LLMs", value = list_llm_simple[0], type="index") # info="Select LLM", show_label=False
151
  with gr.Row():
152
  db_progress = gr.Textbox(value="Not initialized", show_label=False) # label="Vector database status",
153
  gr.Markdown("<style>body { font-size: 16px; }</style><b>Select Large Language Model (LLM) and input parameters</b>")