Spaces:
Runtime error
Runtime error
Commit
·
6abc542
1
Parent(s):
81ded49
Refactored HTML description in app.py
Browse files
app.py
CHANGED
|
@@ -31,14 +31,13 @@ def clone_collection(
|
|
| 31 |
title = (
|
| 32 |
"""<h1 style='text-align: center;'> 🧬 Collection Cloner 🧬</h1>"""
|
| 33 |
)
|
| 34 |
-
description = """<
|
| 35 |
This space allows you to clone a [Collection](https://huggingface.co/docs/hub/collections) from the Hugging Face Hub into your own namespace.
|
| 36 |
-
You can then edit the collection to your liking
|
| 37 |
-
</div>"""
|
| 38 |
|
| 39 |
with gr.Blocks() as demo:
|
| 40 |
gr.HTML(title)
|
| 41 |
-
gr.Markdown(description)
|
| 42 |
with gr.Row():
|
| 43 |
token = gr.Textbox(
|
| 44 |
label="Token",
|
|
|
|
| 31 |
title = (
|
| 32 |
"""<h1 style='text-align: center;'> 🧬 Collection Cloner 🧬</h1>"""
|
| 33 |
)
|
| 34 |
+
description = """<center>
|
| 35 |
This space allows you to clone a [Collection](https://huggingface.co/docs/hub/collections) from the Hugging Face Hub into your own namespace.
|
| 36 |
+
You can then edit the collection to your liking!</center>"""
|
|
|
|
| 37 |
|
| 38 |
with gr.Blocks() as demo:
|
| 39 |
gr.HTML(title)
|
| 40 |
+
gr.Markdown(value=description)
|
| 41 |
with gr.Row():
|
| 42 |
token = gr.Textbox(
|
| 43 |
label="Token",
|