Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -166,8 +166,14 @@ window.addEventListener('load', () => {
|
|
166 |
</script>
|
167 |
"""
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
# with gr.Blocks(fill_width=True, head=js) as demo:
|
170 |
-
with gr.Blocks(
|
171 |
with gr.Tab(str(num_models) + ' Models'):
|
172 |
with gr.Column(scale=2):
|
173 |
with gr.Group():
|
|
|
166 |
</script>
|
167 |
"""
|
168 |
|
169 |
+
CSS="""
|
170 |
+
<style>
|
171 |
+
.gallery { min_width=512px; min_height=512px; max_height=512px; !important; }
|
172 |
+
</style>
|
173 |
+
"""
|
174 |
+
|
175 |
# with gr.Blocks(fill_width=True, head=js) as demo:
|
176 |
+
with gr.Blocks(css=CSS) as demo:
|
177 |
with gr.Tab(str(num_models) + ' Models'):
|
178 |
with gr.Column(scale=2):
|
179 |
with gr.Group():
|