Commit
•
4ad28b6
1
Parent(s):
97e37df
Make token and hf token password
Browse files
app.py
CHANGED
@@ -88,10 +88,12 @@ with gr.Blocks(theme=theme) as iface:
|
|
88 |
api_key_input = gr.Textbox(
|
89 |
label="Giskard Hub API Key",
|
90 |
value=os.environ.get("GSK_API_KEY"),
|
|
|
91 |
placeholder="gsk-xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
92 |
)
|
93 |
hf_token_input = gr.Textbox(
|
94 |
label="Hugging Face Spaces Token",
|
|
|
95 |
info="if using a private Giskard Hub on Hugging Face Spaces",
|
96 |
)
|
97 |
|
|
|
88 |
api_key_input = gr.Textbox(
|
89 |
label="Giskard Hub API Key",
|
90 |
value=os.environ.get("GSK_API_KEY"),
|
91 |
+
type="password",
|
92 |
placeholder="gsk-xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
93 |
)
|
94 |
hf_token_input = gr.Textbox(
|
95 |
label="Hugging Face Spaces Token",
|
96 |
+
type="password",
|
97 |
info="if using a private Giskard Hub on Hugging Face Spaces",
|
98 |
)
|
99 |
|