Update app.py
Browse files
app.py
CHANGED
@@ -136,11 +136,11 @@ css = """
|
|
136 |
display: none !important;
|
137 |
}
|
138 |
}
|
139 |
-
|
140 |
display: block;
|
141 |
margin: 0 auto;
|
142 |
-
width:
|
143 |
-
height:
|
144 |
}
|
145 |
"""
|
146 |
with gr.Blocks(css=css) as block:
|
@@ -162,7 +162,7 @@ with gr.Blocks(css=css) as block:
|
|
162 |
)
|
163 |
with gr.Row():
|
164 |
image_path = "./photo_2024-04-07_15-59-52.png"
|
165 |
-
gr.Image(image_path, label=None, width=200, height=200, show_label=False
|
166 |
with gr.Row():
|
167 |
with gr.Column():
|
168 |
input_text = gr.Textbox(label="Input Text", lines=2, value=default_text, elem_id="input_text")
|
|
|
136 |
display: none !important;
|
137 |
}
|
138 |
}
|
139 |
+
img {
|
140 |
display: block;
|
141 |
margin: 0 auto;
|
142 |
+
width: 132px !important;
|
143 |
+
height: 132px !important;
|
144 |
}
|
145 |
"""
|
146 |
with gr.Blocks(css=css) as block:
|
|
|
162 |
)
|
163 |
with gr.Row():
|
164 |
image_path = "./photo_2024-04-07_15-59-52.png"
|
165 |
+
gr.Image(image_path, label=None, width=200, height=200, show_label=False)
|
166 |
with gr.Row():
|
167 |
with gr.Column():
|
168 |
input_text = gr.Textbox(label="Input Text", lines=2, value=default_text, elem_id="input_text")
|