Add GitHub repo link in Space header
Browse files
app.py
CHANGED
|
@@ -832,7 +832,17 @@ body, .gradio-container {
|
|
| 832 |
-webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
|
| 833 |
margin: 0 0 0.5rem;
|
| 834 |
}
|
| 835 |
-
.app-header p { color: #6b7280; font-size: 1rem; margin: 0; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 836 |
|
| 837 |
/* Card */
|
| 838 |
.card {
|
|
@@ -978,6 +988,7 @@ with gr.Blocks(title="BlueTTS — Multilingual TTS") as demo:
|
|
| 978 |
<div class="app-header">
|
| 979 |
<h1>BlueTTS</h1>
|
| 980 |
<p>Lightning-fast multilingual text-to-speech · English · Hebrew · Spanish · German · Italian</p>
|
|
|
|
| 981 |
</div>
|
| 982 |
""")
|
| 983 |
|
|
|
|
| 832 |
-webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
|
| 833 |
margin: 0 0 0.5rem;
|
| 834 |
}
|
| 835 |
+
.app-header p { color: #6b7280; font-size: 1rem; margin: 0 0 1rem; }
|
| 836 |
+
.app-header .github-link {
|
| 837 |
+
display: inline-flex; align-items: center; gap: 0.4rem;
|
| 838 |
+
margin-top: 0.75rem; padding: 0.45rem 1rem;
|
| 839 |
+
font-size: 0.9rem; font-weight: 500; text-decoration: none !important;
|
| 840 |
+
color: #93c5fd !important; border: 1px solid #2a3f5c; border-radius: 999px;
|
| 841 |
+
background: rgba(96, 165, 250, 0.08); transition: background 0.15s, border-color 0.15s, color 0.15s;
|
| 842 |
+
}
|
| 843 |
+
.app-header .github-link:hover {
|
| 844 |
+
color: #bfdbfe !important; border-color: #60a5fa; background: rgba(96, 165, 250, 0.14);
|
| 845 |
+
}
|
| 846 |
|
| 847 |
/* Card */
|
| 848 |
.card {
|
|
|
|
| 988 |
<div class="app-header">
|
| 989 |
<h1>BlueTTS</h1>
|
| 990 |
<p>Lightning-fast multilingual text-to-speech · English · Hebrew · Spanish · German · Italian</p>
|
| 991 |
+
<a class="github-link" href="https://github.com/maxmelichov/BlueTTS" target="_blank" rel="noopener noreferrer">GitHub · maxmelichov/BlueTTS</a>
|
| 992 |
</div>
|
| 993 |
""")
|
| 994 |
|