ginipick commited on
Commit
8b54762
ยท
verified ยท
1 Parent(s): 67340eb

Update app-backup5.py

Browse files
Files changed (1) hide show
  1. 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, #app-py-content {
173
- max-height: 320px; /* ๋†’์ด๋ฅผ 320px๋กœ ์ฆ๊ฐ€ */
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=12, max_lines=22) # lines์™€ max_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("๐Ÿ”„ ํ™”๋ฉด ๊ฐฑ์‹ ", elem_id="refresh-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="์‚ฌ์šฉ ๋ฐฉ๋ฒ•", elem_id="usage-guide", visible=False, lines=12, max_lines=22) # lines์™€ max_lines ์ฆ๊ฐ€
228
 
229
  with gr.Group(elem_classes="output-group"):
230
- app_py_content = gr.Code(language="python", label="๋ฉ”์ธ ์†Œ์Šค์ฝ”๋“œ", elem_id="app-py-content", lines=22, max_lines=None) # 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