Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ body{
|
|
| 59 |
width: 420px;
|
| 60 |
padding: 30px 40px;
|
| 61 |
position: absolute;
|
| 62 |
-
transform: translate(-50%,-50%)
|
| 63 |
left: 50%;
|
| 64 |
top: 50%;
|
| 65 |
border-radius: 8px;
|
|
@@ -165,7 +165,6 @@ def ac():
|
|
| 165 |
def cl_fac():
|
| 166 |
return ""
|
| 167 |
with gr.Blocks(css=css) as b:
|
| 168 |
-
message=gr.HTML("", visible=False)
|
| 169 |
with gr.Row():
|
| 170 |
put = gr.Textbox()
|
| 171 |
btn1 = gr.Button()
|
|
@@ -175,6 +174,8 @@ def ac():
|
|
| 175 |
with gr.Row():
|
| 176 |
out3 = gr.Image()
|
| 177 |
out4 = gr.Image()
|
|
|
|
|
|
|
| 178 |
with gr.Row(visible=False):
|
| 179 |
h=gr.Textbox(value="V")
|
| 180 |
t_state=gr.Number()
|
|
|
|
| 59 |
width: 420px;
|
| 60 |
padding: 30px 40px;
|
| 61 |
position: absolute;
|
| 62 |
+
<!--transform: translate(-50%,-50%);-->
|
| 63 |
left: 50%;
|
| 64 |
top: 50%;
|
| 65 |
border-radius: 8px;
|
|
|
|
| 165 |
def cl_fac():
|
| 166 |
return ""
|
| 167 |
with gr.Blocks(css=css) as b:
|
|
|
|
| 168 |
with gr.Row():
|
| 169 |
put = gr.Textbox()
|
| 170 |
btn1 = gr.Button()
|
|
|
|
| 174 |
with gr.Row():
|
| 175 |
out3 = gr.Image()
|
| 176 |
out4 = gr.Image()
|
| 177 |
+
message=gr.HTML("", visible=True)
|
| 178 |
+
|
| 179 |
with gr.Row(visible=False):
|
| 180 |
h=gr.Textbox(value="V")
|
| 181 |
t_state=gr.Number()
|