lewtun HF staff commited on
Commit
4e25e73
1 Parent(s): ad650fb

Add help message to access token

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -55,7 +55,11 @@ with st.form(key="form"):
55
  data = str(uploaded_file.read(), "utf-8")
56
  json_data = json.loads(data)
57
 
58
- token = st.text_input("Access token", type="password")
 
 
 
 
59
 
60
  submit_button = st.form_submit_button("Submit")
61
 
 
55
  data = str(uploaded_file.read(), "utf-8")
56
  json_data = json.loads(data)
57
 
58
+ token = st.text_input(
59
+ "Access token",
60
+ type="password",
61
+ help="You can generate an access token via your Hub settings. See the [docs](https://huggingface.co/docs/hub/security#user-access-tokens) for more details",
62
+ )
63
 
64
  submit_button = st.form_submit_button("Submit")
65