Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -123,9 +123,50 @@ def inference(
|
|
123 |
return out.images[0] # type: ignore
|
124 |
|
125 |
|
126 |
-
with gr.Blocks(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
gr.Markdown(
|
128 |
"""
|
|
|
|
|
|
|
|
|
|
|
129 |
# 🎨 Yamamoto QR Code Art Generator
|
130 |
|
131 |
## Transform Your QR Codes into Brand Masterpieces
|
@@ -153,7 +194,10 @@ with gr.Blocks() as blocks:
|
|
153 |
|
154 |
Remember, the magic lies in the details of your prompt and the fine-tuning of your settings.
|
155 |
Happy creating!
|
156 |
-
|
|
|
|
|
|
|
157 |
)
|
158 |
|
159 |
with gr.Row():
|
|
|
123 |
return out.images[0] # type: ignore
|
124 |
|
125 |
|
126 |
+
with gr.Blocks(css="""
|
127 |
+
body {
|
128 |
+
background-color: #000000;
|
129 |
+
color: #ffffff;
|
130 |
+
}
|
131 |
+
.gradio-container {
|
132 |
+
background-color: #000000;
|
133 |
+
}
|
134 |
+
.gr-button-primary {
|
135 |
+
background-color: #ff0000 !important;
|
136 |
+
border-color: #ff0000 !important;
|
137 |
+
}
|
138 |
+
.gr-button-primary:hover {
|
139 |
+
background-color: #cc0000 !important;
|
140 |
+
border-color: #cc0000 !important;
|
141 |
+
}
|
142 |
+
#markdown-content h1, #markdown-content h2, #markdown-content h3 {
|
143 |
+
color: #ff0000;
|
144 |
+
}
|
145 |
+
.gr-form {
|
146 |
+
background-color: #1a1a1a;
|
147 |
+
border: 1px solid #333333;
|
148 |
+
border-radius: 8px;
|
149 |
+
padding: 20px;
|
150 |
+
}
|
151 |
+
.gr-input, .gr-select {
|
152 |
+
background-color: #2a2a2a;
|
153 |
+
border-color: #444444;
|
154 |
+
color: #ffffff;
|
155 |
+
}
|
156 |
+
.gr-input:focus, .gr-select:focus {
|
157 |
+
border-color: #ff0000;
|
158 |
+
}
|
159 |
+
.gr-form-label {
|
160 |
+
color: #ff0000;
|
161 |
+
}
|
162 |
+
""") as blocks:
|
163 |
gr.Markdown(
|
164 |
"""
|
165 |
+
<div style="text-align: center;">
|
166 |
+
|
167 |
+
|
168 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/_VyYxp5qE_nRZ_LJqBxmL.webp" alt="Yamamoto Logo" style="max-width: 200px; margin-bottom: 20px;">
|
169 |
+
|
170 |
# 🎨 Yamamoto QR Code Art Generator
|
171 |
|
172 |
## Transform Your QR Codes into Brand Masterpieces
|
|
|
194 |
|
195 |
Remember, the magic lies in the details of your prompt and the fine-tuning of your settings.
|
196 |
Happy creating!
|
197 |
+
|
198 |
+
</div>
|
199 |
+
""",
|
200 |
+
elem_id="markdown-content"
|
201 |
)
|
202 |
|
203 |
with gr.Row():
|