wonwizard commited on
Commit
0807974
·
1 Parent(s): c6bdca0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks(css=css) as demo:
134
  with gr.Row():
135
  with gr.Column():
136
  image_in = gr.Image(label="이미지 입력", type="filepath", elem_id="image-in", height=420)
137
- audience = gr.Radio(label="대상", choices=["어린이", "성인"], value="어린이")
138
  submit_btn = gr.Button('글을 만들어 주세요')
139
  with gr.Column():
140
  #caption = gr.Textbox(label="Generated Caption")
@@ -145,7 +145,7 @@ with gr.Blocks(css=css) as demo:
145
  loading_icon = gr.HTML(loading_icon_html)
146
  share_button = gr.Button("Share to community", elem_id="share-btn")
147
 
148
- gr.Examples(examples=[["./examples/crabby.png", "어린이"],["./examples/hopper.jpeg", "성인"]],
149
  fn=infer,
150
  inputs=[image_in, audience],
151
  outputs=[story, share_group],
 
134
  with gr.Row():
135
  with gr.Column():
136
  image_in = gr.Image(label="이미지 입력", type="filepath", elem_id="image-in", height=420)
137
+ audience = gr.Radio(label="대상", choices=["Children", "Adult"], value="Children")
138
  submit_btn = gr.Button('글을 만들어 주세요')
139
  with gr.Column():
140
  #caption = gr.Textbox(label="Generated Caption")
 
145
  loading_icon = gr.HTML(loading_icon_html)
146
  share_button = gr.Button("Share to community", elem_id="share-btn")
147
 
148
+ gr.Examples(examples=[["./examples/crabby.png", "Children"],["./examples/hopper.jpeg", "Adult"]],
149
  fn=infer,
150
  inputs=[image_in, audience],
151
  outputs=[story, share_group],