Spaces:
Running
Running
Fix markdown links
#3
by
lhoestq
HF staff
- opened
app.py
CHANGED
@@ -25,6 +25,7 @@ assert (
|
|
25 |
), "You need to set NOTEBOOKS_REPOSITORY in your environment variables"
|
26 |
|
27 |
|
|
|
28 |
BASE_DATASETS_SERVER_URL = "https://datasets-server.huggingface.co"
|
29 |
HEADERS = {"Accept": "application/json", "Content-Type": "application/json"}
|
30 |
|
@@ -195,8 +196,8 @@ css = """
|
|
195 |
|
196 |
with gr.Blocks(css=css) as demo:
|
197 |
gr.Markdown("# π€ Dataset notebook creator π΅οΈ")
|
198 |
-
gr.Markdown(f"[![Notebooks: {len(notebook_templates)}](https://img.shields.io/badge/Notebooks-{len(notebook_templates)}-blue.svg)](tree/main/notebooks)")
|
199 |
-
gr.Markdown("[![Contribute a Notebook](https://img.shields.io/badge/Contribute%20a%20Notebook-8A2BE2)](blob/main/CONTRIBUTING.md)")
|
200 |
text_input = gr.Textbox(label="Suggested notebook type", visible=False)
|
201 |
|
202 |
gr.Markdown("## 1. Select and preview a dataset from Huggingface Hub")
|
|
|
25 |
), "You need to set NOTEBOOKS_REPOSITORY in your environment variables"
|
26 |
|
27 |
|
28 |
+
URL = "https://huggingface.co/spaces/asoria/auto-notebook-creator"
|
29 |
BASE_DATASETS_SERVER_URL = "https://datasets-server.huggingface.co"
|
30 |
HEADERS = {"Accept": "application/json", "Content-Type": "application/json"}
|
31 |
|
|
|
196 |
|
197 |
with gr.Blocks(css=css) as demo:
|
198 |
gr.Markdown("# π€ Dataset notebook creator π΅οΈ")
|
199 |
+
gr.Markdown(f"[![Notebooks: {len(notebook_templates)}](https://img.shields.io/badge/Notebooks-{len(notebook_templates)}-blue.svg)]({URL}/tree/main/notebooks)")
|
200 |
+
gr.Markdown(f"[![Contribute a Notebook](https://img.shields.io/badge/Contribute%20a%20Notebook-8A2BE2)]({URL}/blob/main/CONTRIBUTING.md)")
|
201 |
text_input = gr.Textbox(label="Suggested notebook type", visible=False)
|
202 |
|
203 |
gr.Markdown("## 1. Select and preview a dataset from Huggingface Hub")
|