Spaces:
Runtime error
Runtime error
Commit
·
3d02299
1
Parent(s):
0be785e
Add token requirement for creating and cloning
Browse files
app.py
CHANGED
|
@@ -40,6 +40,9 @@ with gr.Blocks() as demo:
|
|
| 40 |
This space allows you to clone a <a href="https://huggingface.co/docs/hub/collections">Collection</a> from the Hugging Face Hub into your own namespace.
|
| 41 |
You can then edit the collection to your liking!</p>"""
|
| 42 |
)
|
|
|
|
|
|
|
|
|
|
| 43 |
with gr.Row():
|
| 44 |
token = gr.Textbox(
|
| 45 |
label="Token",
|
|
|
|
| 40 |
This space allows you to clone a <a href="https://huggingface.co/docs/hub/collections">Collection</a> from the Hugging Face Hub into your own namespace.
|
| 41 |
You can then edit the collection to your liking!</p>"""
|
| 42 |
)
|
| 43 |
+
gr.Markdown(
|
| 44 |
+
"Token is required to create a new collection and clone private collections. You can get your token from your [profile page](https://huggingface.co/settings/token)."
|
| 45 |
+
)
|
| 46 |
with gr.Row():
|
| 47 |
token = gr.Textbox(
|
| 48 |
label="Token",
|