hltdx commited on
Commit
a8e6637
·
unverified ·
1 Parent(s): adb77df

Fixing secret inputs.

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
  )