Spaces:
Running
Running
Commit
·
8a64d7a
1
Parent(s):
0c4a143
fix styles to show cross on crop images
Browse files
app.py
CHANGED
@@ -234,8 +234,8 @@ def create_chat_interface():
|
|
234 |
with gr.Blocks(
|
235 |
fill_height=True,
|
236 |
fill_width=True,
|
237 |
-
|
238 |
-
|
239 |
theme=gr.themes.Default(
|
240 |
font=[gr.themes.GoogleFont("Inconsolata"), "Arial", "sans-serif"]
|
241 |
),
|
|
|
234 |
with gr.Blocks(
|
235 |
fill_height=True,
|
236 |
fill_width=True,
|
237 |
+
css=css,
|
238 |
+
head=head,
|
239 |
theme=gr.themes.Default(
|
240 |
font=[gr.themes.GoogleFont("Inconsolata"), "Arial", "sans-serif"]
|
241 |
),
|
utils.py
CHANGED
@@ -113,10 +113,21 @@ css = """
|
|
113 |
gap: 0px !important;
|
114 |
}
|
115 |
|
116 |
-
.icon-button-wrapper{
|
117 |
-
display: none
|
|
|
|
|
|
|
|
|
118 |
}
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
|
121 |
footer {
|
122 |
display: none !important;
|
|
|
113 |
gap: 0px !important;
|
114 |
}
|
115 |
|
116 |
+
.icon-button-wrapper button[title="Clear"] {
|
117 |
+
display: none;
|
118 |
+
}
|
119 |
+
|
120 |
+
.image-preview .icon-button-wrapper {
|
121 |
+
display: block !important;
|
122 |
}
|
123 |
|
124 |
+
.image-preview .icon-button-wrapper button[title="Clear"] {
|
125 |
+
display: block !important;
|
126 |
+
}
|
127 |
+
|
128 |
+
.download-link {
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
|
132 |
footer {
|
133 |
display: none !important;
|