Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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>")
|