aiqtech commited on
Commit
bb9bc7b
·
verified ·
1 Parent(s): 3562ab1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -98,6 +98,11 @@ css = """
98
  footer {
99
  visibility: hidden;
100
  }
 
 
 
 
 
101
  """
102
 
103
  with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
@@ -131,6 +136,10 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
131
 
132
  use_as_input_button = gr.Button("입력 이미지로 사용", visible=False)
133
 
 
 
 
 
134
  def use_output_as_input(output_image):
135
  return gr.update(value=output_image[1])
136
 
 
98
  footer {
99
  visibility: hidden;
100
  }
101
+ .sample-image {
102
+ display: flex;
103
+ justify-content: center;
104
+ margin-top: 20px;
105
+ }
106
  """
107
 
108
  with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
 
136
 
137
  use_as_input_button = gr.Button("입력 이미지로 사용", visible=False)
138
 
139
+ # 샘플 이미지 추가
140
+ with gr.Row(elem_classes="sample-image"):
141
+ sample_image = gr.Image("sample.png", label="샘플 이미지", height=256, width=256)
142
+
143
  def use_output_as_input(output_image):
144
  return gr.update(value=output_image[1])
145