Fixing secret inputs.
Browse files
app.py
CHANGED
@@ -51,14 +51,14 @@ iface1 = gr.Interface(
|
|
51 |
|
52 |
iface2 = gr.Interface(
|
53 |
fn=load_data,
|
54 |
-
inputs=gr.Textbox(label="Secret", type="password"),
|
55 |
outputs="text",
|
56 |
title="Load Data"
|
57 |
)
|
58 |
|
59 |
iface3 = gr.Interface(
|
60 |
fn=delete_data,
|
61 |
-
inputs=gr.inputs.Textbox(label="Secret", type="password"),
|
62 |
outputs="text",
|
63 |
title="Delete Data"
|
64 |
)
|
|
|
51 |
|
52 |
iface2 = gr.Interface(
|
53 |
fn=load_data,
|
54 |
+
inputs=gr.Textbox(label="Secret", type="password", render=False),
|
55 |
outputs="text",
|
56 |
title="Load Data"
|
57 |
)
|
58 |
|
59 |
iface3 = gr.Interface(
|
60 |
fn=delete_data,
|
61 |
+
inputs=gr.inputs.Textbox(label="Secret", type="password", render=False),
|
62 |
outputs="text",
|
63 |
title="Delete Data"
|
64 |
)
|