ginipick commited on
Commit
b7029f7
ยท
verified ยท
1 Parent(s): 85e0d0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -11
app.py CHANGED
@@ -43,7 +43,6 @@ body { background-color: #f0f2f5; }
43
  .gradio-container { font-family: 'Segoe UI', sans-serif; }
44
  h1, h2, h3, h4 { color: #283E51; }
45
  button { border-radius: 6px; }
46
- .accordion { background-color: #ffffff; border: 1px solid #ddd; border-radius: 6px; padding: 10px; }
47
  """
48
 
49
  @spaces.GPU
@@ -146,17 +145,15 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
146
  with gr.Column(scale=2):
147
  with gr.Tabs():
148
  with gr.Tab("Output Image"):
149
- with gr.Box():
150
- image_output_component = gr.Image(
151
- type='pil', label='Processed Image'
152
- )
153
  with gr.Tab("Parsed Text"):
154
- with gr.Box():
155
- text_output_component = gr.Textbox(
156
- label='Parsed Screen Elements',
157
- placeholder='The structured elements will appear here.',
158
- lines=10
159
- )
160
 
161
  # ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ ํ”„๋กœ์„ธ์Šค ์‹คํ–‰ (๋กœ๋”ฉ ์Šคํ”ผ๋„ˆ ์ ์šฉ)
162
  submit_button_component.click(
 
43
  .gradio-container { font-family: 'Segoe UI', sans-serif; }
44
  h1, h2, h3, h4 { color: #283E51; }
45
  button { border-radius: 6px; }
 
46
  """
47
 
48
  @spaces.GPU
 
145
  with gr.Column(scale=2):
146
  with gr.Tabs():
147
  with gr.Tab("Output Image"):
148
+ image_output_component = gr.Image(
149
+ type='pil', label='Processed Image'
150
+ )
 
151
  with gr.Tab("Parsed Text"):
152
+ text_output_component = gr.Textbox(
153
+ label='Parsed Screen Elements',
154
+ placeholder='The structured elements will appear here.',
155
+ lines=10
156
+ )
 
157
 
158
  # ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ ํ”„๋กœ์„ธ์Šค ์‹คํ–‰ (๋กœ๋”ฉ ์Šคํ”ผ๋„ˆ ์ ์šฉ)
159
  submit_button_component.click(