Spaces:
Running
Running
default endpoint
Browse files- svg_editor_gradio.py +3 -1
svg_editor_gradio.py
CHANGED
@@ -214,7 +214,9 @@ with gr.Blocks() as demo:
|
|
214 |
)
|
215 |
with gr.Accordion("Credentials", open=True) as credentials_accordeon:
|
216 |
wx_creds_endpoint = gr.Textbox(
|
217 |
-
label="Endpoint",
|
|
|
|
|
218 |
)
|
219 |
wx_creds_apikey = gr.Textbox(
|
220 |
label="API key", value=env_apikey, max_lines=1
|
|
|
214 |
)
|
215 |
with gr.Accordion("Credentials", open=True) as credentials_accordeon:
|
216 |
wx_creds_endpoint = gr.Textbox(
|
217 |
+
label="Endpoint",
|
218 |
+
value=env_apiendpoint or "https://us-south.ml.cloud.ibm.com",
|
219 |
+
max_lines=1,
|
220 |
)
|
221 |
wx_creds_apikey = gr.Textbox(
|
222 |
label="API key", value=env_apikey, max_lines=1
|