Spaces:
Sleeping
Sleeping
Commit
·
94e521a
1
Parent(s):
4727b07
Adding Langchain QA
Browse files
app.py
CHANGED
|
@@ -118,7 +118,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 118 |
with gr.Column():
|
| 119 |
with gr.Box():
|
| 120 |
LLM_option = gr.Dropdown(['HuggingFace','OpenAI'],label='Large Language Model Selection',info='LLM Service')
|
| 121 |
-
API_key = gr.Textbox(label="Add
|
| 122 |
with gr.Column():
|
| 123 |
with gr.Row():
|
| 124 |
file_extension = gr.Dropdown(FILE_EXT, label="File Extensions", info="Select your files extensions!")
|
|
|
|
| 118 |
with gr.Column():
|
| 119 |
with gr.Box():
|
| 120 |
LLM_option = gr.Dropdown(['HuggingFace','OpenAI'],label='Large Language Model Selection',info='LLM Service')
|
| 121 |
+
API_key = gr.Textbox(label="Add API key".format(LLM_option), type="password")
|
| 122 |
with gr.Column():
|
| 123 |
with gr.Row():
|
| 124 |
file_extension = gr.Dropdown(FILE_EXT, label="File Extensions", info="Select your files extensions!")
|