Update app.py
Browse files
app.py
CHANGED
@@ -122,23 +122,14 @@ CSS="""
|
|
122 |
"""
|
123 |
|
124 |
|
125 |
-
|
126 |
-
with gr.Blocks(theme='JohnSmith9982/small_and_pretty', fill_width=True, css=CSS) as demo:
|
127 |
-
gr.HTML(
|
128 |
-
<script>
|
129 |
-
const url = new URL(window.location);
|
130 |
-
|
131 |
-
if (url.searchParams.get('__theme') !== 'dark') {
|
132 |
-
url.searchParams.set('__theme', 'dark');
|
133 |
-
window.location.href = url.href;
|
134 |
-
}
|
135 |
-
</script>
|
136 |
-
""")
|
137 |
with gr.Tab('6 Models'):
|
138 |
with gr.Column(scale=2):
|
139 |
with gr.Group():
|
140 |
-
txt_input = gr.Textbox(label='Your prompt:', lines=4)
|
141 |
-
neg_input = gr.Textbox(label='Negative prompt:', lines=1)
|
142 |
with gr.Accordion("Advanced", open=False, visible=True):
|
143 |
with gr.Row():
|
144 |
width = gr.Slider(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|
|
|
122 |
"""
|
123 |
|
124 |
|
125 |
+
with gr.Blocks(theme='NoCrypt/miku@>=1.2.2', fill_width=True, css=CSS) as demo:
|
126 |
+
# with gr.Blocks(theme='JohnSmith9982/small_and_pretty', fill_width=True, css=CSS) as demo:
|
127 |
+
gr.HTML()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
with gr.Tab('6 Models'):
|
129 |
with gr.Column(scale=2):
|
130 |
with gr.Group():
|
131 |
+
txt_input = gr.Textbox(label='Your prompt:', value="a tall slender athletic young caucasian woman. gorgeous face. perfect tits. feme fatale.", lines=4, autofocus=1)
|
132 |
+
neg_input = gr.Textbox(label='Negative prompt:', value="[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness", lines=1)
|
133 |
with gr.Accordion("Advanced", open=False, visible=True):
|
134 |
with gr.Row():
|
135 |
width = gr.Slider(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|