Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ def add_gallery(image, model_str, gallery):
|
|
| 117 |
CSS="""
|
| 118 |
.gradio-container { max-width: 1200px; margin: 0 auto; !important; }
|
| 119 |
.output { width=112px; height=112px; max_width=112px; max_height=112px; !important; }
|
| 120 |
-
.gallery { min_width=512px; min_height=512px; max_height=
|
| 121 |
.guide { text-align: center; !important; }
|
| 122 |
"""
|
| 123 |
|
|
@@ -129,12 +129,11 @@ function refresh() {
|
|
| 129 |
url.searchParams.set('__theme', 'dark');
|
| 130 |
window.location.href = url.href;
|
| 131 |
}
|
| 132 |
-
console.log("Check");
|
| 133 |
}
|
| 134 |
"""
|
| 135 |
|
| 136 |
-
|
| 137 |
-
with gr.Blocks(theme='JohnSmith9982/small_and_pretty', fill_width=True, css=CSS, js=js_func) as demo:
|
| 138 |
gr.HTML("")
|
| 139 |
with gr.Tab('6 Models'):
|
| 140 |
with gr.Column(scale=2):
|
|
|
|
| 117 |
CSS="""
|
| 118 |
.gradio-container { max-width: 1200px; margin: 0 auto; !important; }
|
| 119 |
.output { width=112px; height=112px; max_width=112px; max_height=112px; !important; }
|
| 120 |
+
.gallery { min_width=512px; min_height=512px; max_height=512px; !important; }
|
| 121 |
.guide { text-align: center; !important; }
|
| 122 |
"""
|
| 123 |
|
|
|
|
| 129 |
url.searchParams.set('__theme', 'dark');
|
| 130 |
window.location.href = url.href;
|
| 131 |
}
|
|
|
|
| 132 |
}
|
| 133 |
"""
|
| 134 |
|
| 135 |
+
with gr.Blocks(theme='NoCrypt/miku@>=1.2.2', fill_width=True, css=CSS) as demo:
|
| 136 |
+
# with gr.Blocks(theme='JohnSmith9982/small_and_pretty', fill_width=True, css=CSS, js=js_func) as demo:
|
| 137 |
gr.HTML("")
|
| 138 |
with gr.Tab('6 Models'):
|
| 139 |
with gr.Column(scale=2):
|