Spaces:
Running
Running
Update app-backup5.py
Browse files- app-backup5.py +10 -9
app-backup5.py
CHANGED
@@ -169,14 +169,15 @@ def create_ui():
|
|
169 |
width: 100% !important;
|
170 |
margin-top: 5px !important;
|
171 |
}
|
172 |
-
#info-output, #usage-guide
|
173 |
-
|
174 |
overflow-y: auto;
|
175 |
-
padding-right: 10px;
|
176 |
}
|
177 |
#app-py-content {
|
178 |
-
height: auto;
|
179 |
-
max-height: none;
|
|
|
180 |
}
|
181 |
.output-group {
|
182 |
border: 1px solid #ddd;
|
@@ -215,19 +216,19 @@ def create_ui():
|
|
215 |
|
216 |
with gr.Column(scale=1):
|
217 |
with gr.Group(elem_classes="output-group"):
|
218 |
-
info_output = gr.Textbox(label="Space ์ ๋ณด ๋ฐ ์์ฝ", elem_id="info-output", lines=
|
219 |
url_state = gr.State("")
|
220 |
last_url_state = gr.State("")
|
221 |
|
222 |
screenshot_output = gr.Image(type="pil", label="Live ํ๋ฉด", height=360, width=600)
|
223 |
-
refresh_button = gr.Button("๐ ํ๋ฉด
|
224 |
manual_button = gr.Button("์ ํ ์๋น์ค ํน์ง ๋ฐ ์ฌ์ฉ๋ฒ", elem_id="manual-button")
|
225 |
|
226 |
with gr.Group(elem_classes="output-group"):
|
227 |
-
usage_guide = gr.Textbox(label="
|
228 |
|
229 |
with gr.Group(elem_classes="output-group"):
|
230 |
-
app_py_content = gr.Code(language="python", label="๋ฉ์ธ ์์ค์ฝ๋", elem_id="app-py-content", lines=
|
231 |
|
232 |
update_trigger = gr.Button("Update Screenshot", visible=False)
|
233 |
|
|
|
169 |
width: 100% !important;
|
170 |
margin-top: 5px !important;
|
171 |
}
|
172 |
+
#info-output, #usage-guide {
|
173 |
+
height: 400px; /* ๋์ด๋ฅผ 400px๋ก ์ฆ๊ฐ */
|
174 |
overflow-y: auto;
|
175 |
+
padding-right: 10px;
|
176 |
}
|
177 |
#app-py-content {
|
178 |
+
height: auto !important;
|
179 |
+
max-height: none !important;
|
180 |
+
overflow-y: visible !important;
|
181 |
}
|
182 |
.output-group {
|
183 |
border: 1px solid #ddd;
|
|
|
216 |
|
217 |
with gr.Column(scale=1):
|
218 |
with gr.Group(elem_classes="output-group"):
|
219 |
+
info_output = gr.Textbox(label="Space ์ ๋ณด ๋ฐ ์์ฝ", elem_id="info-output", lines=20, max_lines=30)
|
220 |
url_state = gr.State("")
|
221 |
last_url_state = gr.State("")
|
222 |
|
223 |
screenshot_output = gr.Image(type="pil", label="Live ํ๋ฉด", height=360, width=600)
|
224 |
+
refresh_button = gr.Button("๐ ์๋น์ค ํ๋ฉด", elem_id="refresh-button")
|
225 |
manual_button = gr.Button("์ ํ ์๋น์ค ํน์ง ๋ฐ ์ฌ์ฉ๋ฒ", elem_id="manual-button")
|
226 |
|
227 |
with gr.Group(elem_classes="output-group"):
|
228 |
+
usage_guide = gr.Textbox(label="์ ํ ์๋น์ค ํน์ง ๋ฐ ์ฌ์ฉ๋ฒ", elem_id="usage-guide", visible=False, lines=20, max_lines=30)
|
229 |
|
230 |
with gr.Group(elem_classes="output-group"):
|
231 |
+
app_py_content = gr.Code(language="python", label="๋ฉ์ธ ์์ค์ฝ๋", elem_id="app-py-content", lines=None, max_lines=None)
|
232 |
|
233 |
update_trigger = gr.Button("Update Screenshot", visible=False)
|
234 |
|