Download assets/static/header.py from tomvries/tts: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/spaces/tomvries/tts/resolve/main/assets/static/header.py
- Command line
-
hf download hf://spaces/tomvries/tts/assets/static/header.py
-
curl -L -o header.py https://huggingface.co/spaces/tomvries/tts/resolve/main/assets/static/header.py
370 Bytes
| # | |
| # SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org> | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # | |
| from config import HEADER_LINKS | |
| def HEADER(): | |
| data = "" | |
| for link in HEADER_LINKS: | |
| data += f'<a href="{link["url"]}" target="_blank">{link["icon"]} {link["text"]}</a>\n' | |
| return f""" | |
| <div class="links-row"> | |
| {data} | |
| </div> | |
| """ |