Spaces:
Runtime error
Runtime error
Add help message to access token
Browse files
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(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|