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