Make token password-like

#1
by osanseviero HF staff - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ with gr.Blocks(title="Submit your assignment!") as demo:
50
 
51
  with gr.Column():
52
  source = gr.Textbox(label='Source repository', placeholder="Source repository (e.g. lysandre/submission)")
53
- token = gr.Textbox(label='Read token', placeholder="Read access token")
54
  with gr.Row():
55
  button = gr.Button("Submit", variant="primary")
56
 
 
50
 
51
  with gr.Column():
52
  source = gr.Textbox(label='Source repository', placeholder="Source repository (e.g. lysandre/submission)")
53
+ token = gr.Textbox(label='Read token', placeholder="Read access token", type="password")
54
  with gr.Row():
55
  button = gr.Button("Submit", variant="primary")
56