Spaces:
Sleeping
Sleeping
arslan-ahmed
commited on
Commit
•
83db539
1
Parent(s):
8110396
Update app.py
Browse files
app.py
CHANGED
@@ -229,10 +229,11 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue='orange', secondary_hue='gray
|
|
229 |
, info='Internal IBMers only')
|
230 |
bamKey_btn = gr.Button("Submit BAM API Key")
|
231 |
with gr.Column():
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
|
|
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'])
|
|
|
229 |
, info='Internal IBMers only')
|
230 |
bamKey_btn = gr.Button("Submit BAM API Key")
|
231 |
with gr.Column():
|
232 |
+
with gr.Row():
|
233 |
+
wxKey_tb = gr.Textbox(label="Watsonx API Key", type='password'\
|
234 |
+
, info='You can find IBM Cloud API Key at Manage > Access (IAM) > API keys on https://cloud.ibm.com/iam/overview')
|
235 |
+
wxPid_tb = gr.Textbox(label="Watsonx Project ID"\
|
236 |
+
, info='You can find Project ID at Project -> Manage -> General -> Details on https://dataplatform.cloud.ibm.com/wx/home')
|
237 |
wxKey_btn = gr.Button("Submit Watsonx Credentials")
|
238 |
with gr.Row(visible=mode.uiAddDataVis):
|
239 |
upload_fb = gr.Files(scale=5, label="Upload (multiple) Files - pdf/txt/docx supported", file_types=['.doc', '.docx', 'text', '.pdf', '.csv'])
|