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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -38,8 +38,8 @@ def submit(source_repo, token):
38
 
39
  description = "<h3>Submit your Hugging Face assignment.</h3> \nEnter the source repository (that should be private " \
40
  "and only " \
41
- "accessible to you!) and your read token. \n\nWe'll duplicate it privately so that we may take a look. " \
42
- "We do not save your read token."
43
 
44
  article = "<p>Find your read token at <a href='https://huggingface.co/settings/token' target='_blank'>token settings" \
45
  "</a></p>"
@@ -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", type="password")
54
  with gr.Row():
55
  button = gr.Button("Submit", variant="primary")
56
 
 
38
 
39
  description = "<h3>Submit your Hugging Face assignment.</h3> \nEnter the source repository (that should be private " \
40
  "and only " \
41
+ "accessible to you!) and your fine-grained (or read) token. \n\nWe'll duplicate it privately so that we may take a look. " \
42
+ "We do not save your token."
43
 
44
  article = "<p>Find your read token at <a href='https://huggingface.co/settings/token' target='_blank'>token settings" \
45
  "</a></p>"
 
50
 
51
  with gr.Column():
52
  source = gr.Textbox(label='Source repository', placeholder="Source repository (e.g. lysandre/submission)")
53
+ token = gr.Textbox(label='Fine-grained token/Read token with access to the repository', placeholder="Read access token", type="password")
54
  with gr.Row():
55
  button = gr.Button("Submit", variant="primary")
56