lysandre HF staff osanseviero HF staff commited on
Commit
03d283b
1 Parent(s): eda7459

Make token password-like (#1)

Browse files

- Update app.py (fa46b134df09e45237bf0c299c87682fb68338a4)


Co-authored-by: Omar Sanseviero <osanseviero@users.noreply.huggingface.co>

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