Spaces:
Sleeping
Sleeping
okay NOW i've fixed the font
Browse files
app.py
CHANGED
|
@@ -101,19 +101,15 @@ h1 {
|
|
| 101 |
}
|
| 102 |
"""
|
| 103 |
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
|
|
|
| 107 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 108 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 109 |
<link href="https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap" rel="stylesheet">
|
| 110 |
-
""
|
| 111 |
-
|
| 112 |
-
# Add the Google Font link to the head
|
| 113 |
-
font_html = load_google_font()
|
| 114 |
-
|
| 115 |
-
with gr.Blocks(css=css, head=font_html) as demo:
|
| 116 |
-
gr.Markdown("Fashioneer - Your Fashion Pioneer")
|
| 117 |
gr.Markdown("Ask me what to wear and I'll suggest clothing with images from the database.")
|
| 118 |
|
| 119 |
user_input = gr.Textbox(label="Your outfit requirements",
|
|
|
|
| 101 |
}
|
| 102 |
"""
|
| 103 |
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
with gr.Blocks(css=css) as demo:
|
| 107 |
+
gr.HTML("""
|
| 108 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 109 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 110 |
<link href="https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap" rel="stylesheet">
|
| 111 |
+
<h1 style="font-family: 'Pinyon Script', cursive; font-size: 2.5em; margin-bottom: 0;">Fashioneer - Your Fashion Pioneer</h1>
|
| 112 |
+
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
gr.Markdown("Ask me what to wear and I'll suggest clothing with images from the database.")
|
| 114 |
|
| 115 |
user_input = gr.Textbox(label="Your outfit requirements",
|