Spaces:
Running
on
A10G
Running
on
A10G
Commit
•
c6b69d9
1
Parent(s):
01006ae
Update app.py
Browse files
app.py
CHANGED
@@ -165,10 +165,10 @@ css = '''.gradio-container{max-width: 700px !important}
|
|
165 |
.fade-in-out {animation: fadeInOut 3s forwards}
|
166 |
@keyframes fadeInOut {
|
167 |
0% {
|
168 |
-
background: var(--bg-color);
|
169 |
}
|
170 |
100% {
|
171 |
-
background: var(--button-secondary-background-fill);
|
172 |
}
|
173 |
}
|
174 |
'''
|
@@ -209,7 +209,7 @@ document.body.addEventListener('click', function(event) {
|
|
209 |
</script>
|
210 |
'''
|
211 |
|
212 |
-
with gr.Blocks(css=css, head=
|
213 |
gr.Markdown('''# Generative Recommenders
|
214 |
Explore the latent space without text prompts, based on your preferences. [Learn more on the blog](https://rynmurdock.github.io/posts/2024/3/generative_recomenders/)
|
215 |
''', elem_id="description")
|
|
|
165 |
.fade-in-out {animation: fadeInOut 3s forwards}
|
166 |
@keyframes fadeInOut {
|
167 |
0% {
|
168 |
+
background: var(--bg-color);
|
169 |
}
|
170 |
100% {
|
171 |
+
background: var(--button-secondary-background-fill);
|
172 |
}
|
173 |
}
|
174 |
'''
|
|
|
209 |
</script>
|
210 |
'''
|
211 |
|
212 |
+
with gr.Blocks(css=css, head=js_head) as demo:
|
213 |
gr.Markdown('''# Generative Recommenders
|
214 |
Explore the latent space without text prompts, based on your preferences. [Learn more on the blog](https://rynmurdock.github.io/posts/2024/3/generative_recomenders/)
|
215 |
''', elem_id="description")
|