Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -156,6 +156,27 @@ height: 200px;
|
|
156 |
padding: 0px 20px;
|
157 |
transform: translate(-50%,-100%);
|
158 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
#head{
|
160 |
color:white;
|
161 |
margin-top:35px;
|
@@ -168,7 +189,7 @@ margin-bottom:5px;
|
|
168 |
font-size:1.1rem;
|
169 |
}
|
170 |
</style>
|
171 |
-
<div id="
|
172 |
<h3 id="head">Loading Time Limit Reached.</h3><br>
|
173 |
<h4 id="cont">Please Click Launch again to Continue, or choose a Simpler Prompt</h4>
|
174 |
</div>
|
@@ -206,6 +227,8 @@ def ac():
|
|
206 |
def cl_fac():
|
207 |
return "",gr.HTML.update("", visible=False)
|
208 |
with gr.Blocks(css=css) as b:
|
|
|
|
|
209 |
with gr.Row():
|
210 |
put = gr.Textbox()
|
211 |
btn1 = gr.Button()
|
@@ -215,7 +238,6 @@ def ac():
|
|
215 |
with gr.Row():
|
216 |
out3 = gr.Image()
|
217 |
out4 = gr.Image()
|
218 |
-
message=gr.HTML("", visible=False)
|
219 |
|
220 |
with gr.Row(visible=False):
|
221 |
h=gr.Textbox(value="V")
|
|
|
156 |
padding: 0px 20px;
|
157 |
transform: translate(-50%,-100%);
|
158 |
}
|
159 |
+
|
160 |
+
#restart{
|
161 |
+
position: relative;
|
162 |
+
top: 50%;
|
163 |
+
left: 50%;
|
164 |
+
font-family: "Poppins",sans-serif;
|
165 |
+
text-align: center;
|
166 |
+
border-radius: 8px;
|
167 |
+
background: #0037ff9e;
|
168 |
+
border-style: solid;
|
169 |
+
border-width: 3px;
|
170 |
+
border-color: #9f00ff;
|
171 |
+
width: 100%;
|
172 |
+
height: 200px;
|
173 |
+
padding: 0px 20px;
|
174 |
+
transform: translate(-50%,-100%);
|
175 |
+
}
|
176 |
+
|
177 |
+
|
178 |
+
|
179 |
+
|
180 |
#head{
|
181 |
color:white;
|
182 |
margin-top:35px;
|
|
|
189 |
font-size:1.1rem;
|
190 |
}
|
191 |
</style>
|
192 |
+
<div id="restart">
|
193 |
<h3 id="head">Loading Time Limit Reached.</h3><br>
|
194 |
<h4 id="cont">Please Click Launch again to Continue, or choose a Simpler Prompt</h4>
|
195 |
</div>
|
|
|
227 |
def cl_fac():
|
228 |
return "",gr.HTML.update("", visible=False)
|
229 |
with gr.Blocks(css=css) as b:
|
230 |
+
message=gr.HTML("", visible=False)
|
231 |
+
|
232 |
with gr.Row():
|
233 |
put = gr.Textbox()
|
234 |
btn1 = gr.Button()
|
|
|
238 |
with gr.Row():
|
239 |
out3 = gr.Image()
|
240 |
out4 = gr.Image()
|
|
|
241 |
|
242 |
with gr.Row(visible=False):
|
243 |
h=gr.Textbox(value="V")
|