Spaces:
Sleeping
Sleeping
arslan-ahmed
commited on
Commit
•
616ad28
1
Parent(s):
8324708
Update app.py
Browse files
app.py
CHANGED
@@ -223,10 +223,6 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue='orange', secondary_hue='gray
|
|
223 |
oaiKey_tb = gr.Textbox(label="OpenAI API Key", type='password'\
|
224 |
, info='You can find OpenAI API key at https://platform.openai.com/account/api-keys')
|
225 |
oaiKey_btn = gr.Button("Submit OpenAI API Key")
|
226 |
-
with gr.Column():
|
227 |
-
bamKey_tb = gr.Textbox(label="BAM API Key", type='password'\
|
228 |
-
, info='Internal IBMers only')
|
229 |
-
bamKey_btn = gr.Button("Submit BAM API Key")
|
230 |
with gr.Column():
|
231 |
with gr.Row():
|
232 |
wxKey_tb = gr.Textbox(label="Watsonx API Key", type='password'\
|
@@ -234,6 +230,10 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue='orange', secondary_hue='gray
|
|
234 |
wxPid_tb = gr.Textbox(label="Watsonx Project ID"\
|
235 |
, info='You can find Project ID at Project -> Manage -> General -> Details on https://dataplatform.cloud.ibm.com/wx/home')
|
236 |
wxKey_btn = gr.Button("Submit Watsonx Credentials")
|
|
|
|
|
|
|
|
|
237 |
with gr.Row(visible=mode.uiAddDataVis):
|
238 |
upload_fb = gr.Files(scale=5, label="Upload (multiple) Files - pdf/txt/docx supported", file_types=['.doc', '.docx', 'text', '.pdf', '.csv'])
|
239 |
urls_tb = gr.Textbox(scale=5, label="Enter URLs starting with https (comma separated)"\
|
|
|
223 |
oaiKey_tb = gr.Textbox(label="OpenAI API Key", type='password'\
|
224 |
, info='You can find OpenAI API key at https://platform.openai.com/account/api-keys')
|
225 |
oaiKey_btn = gr.Button("Submit OpenAI API Key")
|
|
|
|
|
|
|
|
|
226 |
with gr.Column():
|
227 |
with gr.Row():
|
228 |
wxKey_tb = gr.Textbox(label="Watsonx API Key", type='password'\
|
|
|
230 |
wxPid_tb = gr.Textbox(label="Watsonx Project ID"\
|
231 |
, info='You can find Project ID at Project -> Manage -> General -> Details on https://dataplatform.cloud.ibm.com/wx/home')
|
232 |
wxKey_btn = gr.Button("Submit Watsonx Credentials")
|
233 |
+
with gr.Column():
|
234 |
+
bamKey_tb = gr.Textbox(label="BAM API Key", type='password'\
|
235 |
+
, info='Internal IBMers only')
|
236 |
+
bamKey_btn = gr.Button("Submit BAM API Key")
|
237 |
with gr.Row(visible=mode.uiAddDataVis):
|
238 |
upload_fb = gr.Files(scale=5, label="Upload (multiple) Files - pdf/txt/docx supported", file_types=['.doc', '.docx', 'text', '.pdf', '.csv'])
|
239 |
urls_tb = gr.Textbox(scale=5, label="Enter URLs starting with https (comma separated)"\
|