Spaces:
Sleeping
Sleeping
Jonas Wiesli
commited on
Commit
·
e95fa20
1
Parent(s):
1f9aff4
adjusted image scaling
Browse files
app.py
CHANGED
@@ -35,9 +35,9 @@ css = "@import url(https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;
|
|
35 |
"position:absolute;top:20px;right:20px;width:44px;height:44px;min-width:44px;min" \
|
36 |
"-height:44px;line-height:0}.output-class.svelte-1s28oeb.svelte-1s28oeb.svelte-1s28oeb,div.svelte-1eq475l{" \
|
37 |
"font-weight:400}br+br+br{display:none}#component-13,#component-21,#component-29,#component-37,#component-45{" \
|
38 |
-
"min-height:100px;background-position:bottom;background-repeat:no-repeat;background-size:contain
|
39 |
-
"#component-22,#component-30,#component-38,#component-46{
|
40 |
-
"\"file/img/suspects/steve.png\")}"
|
41 |
|
42 |
with gr.Blocks(theme=theme, css=css) as iface:
|
43 |
chatbot = []
|
|
|
35 |
"position:absolute;top:20px;right:20px;width:44px;height:44px;min-width:44px;min" \
|
36 |
"-height:44px;line-height:0}.output-class.svelte-1s28oeb.svelte-1s28oeb.svelte-1s28oeb,div.svelte-1eq475l{" \
|
37 |
"font-weight:400}br+br+br{display:none}#component-13,#component-21,#component-29,#component-37,#component-45{" \
|
38 |
+
"min-height:100px;background-position:bottom;background-repeat:no-repeat;background-size:contain;image" \
|
39 |
+
"-rendering:pixelated}#component-14,#component-22,#component-30,#component-38,#component-46{" \
|
40 |
+
"display:none}#component-13{background-image:url(\"file/img/suspects/steve.png\")}"
|
41 |
|
42 |
with gr.Blocks(theme=theme, css=css) as iface:
|
43 |
chatbot = []
|
style.css
CHANGED
@@ -152,6 +152,7 @@ br + br + br {
|
|
152 |
background-position: bottom;
|
153 |
background-repeat: no-repeat;
|
154 |
background-size: contain;
|
|
|
155 |
}
|
156 |
|
157 |
#component-14, #component-22, #component-30, #component-38, #component-46 {
|
|
|
152 |
background-position: bottom;
|
153 |
background-repeat: no-repeat;
|
154 |
background-size: contain;
|
155 |
+
image-rendering: pixelated;
|
156 |
}
|
157 |
|
158 |
#component-14, #component-22, #component-30, #component-38, #component-46 {
|