Update app.py
Browse files
app.py
CHANGED
|
@@ -177,7 +177,10 @@ def create_ui():
|
|
| 177 |
height: auto;
|
| 178 |
max-height: none;
|
| 179 |
}
|
| 180 |
-
.output-
|
|
|
|
|
|
|
|
|
|
| 181 |
margin-bottom: 20px;
|
| 182 |
}
|
| 183 |
"""
|
|
@@ -196,7 +199,7 @@ def create_ui():
|
|
| 196 |
space_rows.append((space_row, button, space))
|
| 197 |
|
| 198 |
with gr.Column(scale=1):
|
| 199 |
-
with gr.
|
| 200 |
info_output = gr.Textbox(label="Space ์ ๋ณด ๋ฐ ์์ฝ", elem_id="info-output", lines=10, max_lines=20)
|
| 201 |
url_state = gr.State("")
|
| 202 |
last_url_state = gr.State("")
|
|
@@ -205,10 +208,10 @@ def create_ui():
|
|
| 205 |
refresh_button = gr.Button("๐ ์๋ก๊ณ ์นจ", elem_id="refresh-button")
|
| 206 |
manual_button = gr.Button("์ ํ ์๋น์ค ๋ฉ๋ด์ผ", elem_id="manual-button")
|
| 207 |
|
| 208 |
-
with gr.
|
| 209 |
usage_guide = gr.Textbox(label="์ฌ์ฉ ๋ฐฉ๋ฒ", elem_id="usage-guide", visible=False, lines=10, max_lines=20)
|
| 210 |
|
| 211 |
-
with gr.
|
| 212 |
app_py_content = gr.Code(language="python", label="๋ฉ์ธ ์์ค์ฝ๋", elem_id="app-py-content", lines=20, max_lines=None)
|
| 213 |
|
| 214 |
update_trigger = gr.Button("Update Screenshot", visible=False)
|
|
|
|
| 177 |
height: auto;
|
| 178 |
max-height: none;
|
| 179 |
}
|
| 180 |
+
.output-group {
|
| 181 |
+
border: 1px solid #ddd;
|
| 182 |
+
border-radius: 5px;
|
| 183 |
+
padding: 10px;
|
| 184 |
margin-bottom: 20px;
|
| 185 |
}
|
| 186 |
"""
|
|
|
|
| 199 |
space_rows.append((space_row, button, space))
|
| 200 |
|
| 201 |
with gr.Column(scale=1):
|
| 202 |
+
with gr.Group(elem_classes="output-group"):
|
| 203 |
info_output = gr.Textbox(label="Space ์ ๋ณด ๋ฐ ์์ฝ", elem_id="info-output", lines=10, max_lines=20)
|
| 204 |
url_state = gr.State("")
|
| 205 |
last_url_state = gr.State("")
|
|
|
|
| 208 |
refresh_button = gr.Button("๐ ์๋ก๊ณ ์นจ", elem_id="refresh-button")
|
| 209 |
manual_button = gr.Button("์ ํ ์๋น์ค ๋ฉ๋ด์ผ", elem_id="manual-button")
|
| 210 |
|
| 211 |
+
with gr.Group(elem_classes="output-group"):
|
| 212 |
usage_guide = gr.Textbox(label="์ฌ์ฉ ๋ฐฉ๋ฒ", elem_id="usage-guide", visible=False, lines=10, max_lines=20)
|
| 213 |
|
| 214 |
+
with gr.Group(elem_classes="output-group"):
|
| 215 |
app_py_content = gr.Code(language="python", label="๋ฉ์ธ ์์ค์ฝ๋", elem_id="app-py-content", lines=20, max_lines=None)
|
| 216 |
|
| 217 |
update_trigger = gr.Button("Update Screenshot", visible=False)
|