Spaces:
Runtime error
Runtime error
ehristoforu
commited on
Commit
•
910f25b
1
Parent(s):
94c9ba6
Update app.py
Browse files
app.py
CHANGED
@@ -106,6 +106,10 @@ css = """
|
|
106 |
border-top-right-radius: 0;
|
107 |
border-bottom-right-radius: 0;
|
108 |
}
|
|
|
|
|
|
|
|
|
109 |
"""
|
110 |
|
111 |
with gr.Blocks(css=css) as demo:
|
@@ -130,9 +134,7 @@ with gr.Blocks(css=css) as demo:
|
|
130 |
<rect width="23" height="23" fill="white"></rect>
|
131 |
<rect y="69" width="23" height="23" fill="white"></rect>
|
132 |
<rect x="23" width="23" height="23" fill="#AEAEAE"></rect>
|
133 |
-
<rect x="23"
|
134 |
-
<rect x="46" width="23" height="23" fill="white"></rect>
|
135 |
-
<rect x="46" y="69" width="23" height="23" fill="white"></rect>
|
136 |
<rect x="69" width="23" height="23" fill="black"></rect>
|
137 |
<rect x="69" y="69" width="23" height="23" fill="black"></rect>
|
138 |
<rect x="92" width="23" height="23" fill="#D9D9D9"></rect>
|
@@ -161,7 +163,7 @@ with gr.Blocks(css=css) as demo:
|
|
161 |
""")
|
162 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
163 |
with gr.Column(scale=6, min_width=600):
|
164 |
-
prompt = gr.Textbox(label="Prompt", placeholder="a cute cat, 8k", show_label=True, lines=1)
|
165 |
text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
166 |
with gr.Row():
|
167 |
with gr.Column(scale=1):
|
|
|
106 |
border-top-right-radius: 0;
|
107 |
border-bottom-right-radius: 0;
|
108 |
}
|
109 |
+
#prompt-text-input, #negative-prompt-text-input{padding: .45rem 0.625rem}
|
110 |
+
#component-16{border-top-width: 1px!important;margin-top: 1em}
|
111 |
+
.image_duplication{position: absolute; width: 100px; left: 50px}
|
112 |
+
.tabitem{border: 0 !important}.style(mobile_collapse=False, equal_height=True).style(mobile_collapse=False, equal_height=True).style(mobile_collapse=False, equal_height=True).style(mobile_collapse=False, equal_height=True
|
113 |
"""
|
114 |
|
115 |
with gr.Blocks(css=css) as demo:
|
|
|
134 |
<rect width="23" height="23" fill="white"></rect>
|
135 |
<rect y="69" width="23" height="23" fill="white"></rect>
|
136 |
<rect x="23" width="23" height="23" fill="#AEAEAE"></rect>
|
137 |
+
<rect x="23"
|
|
|
|
|
138 |
<rect x="69" width="23" height="23" fill="black"></rect>
|
139 |
<rect x="69" y="69" width="23" height="23" fill="black"></rect>
|
140 |
<rect x="92" width="23" height="23" fill="#D9D9D9"></rect>
|
|
|
163 |
""")
|
164 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
165 |
with gr.Column(scale=6, min_width=600):
|
166 |
+
prompt = gr.Textbox(label="Prompt", placeholder="a cute cat, 8k", show_label=True, lines=1, elem_id="prompt-text-input)
|
167 |
text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
168 |
with gr.Row():
|
169 |
with gr.Column(scale=1):
|