haepada commited on
Commit
e23cc7f
·
verified ·
1 Parent(s): fe3463d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -63,13 +63,14 @@ with gr.Blocks(title="사물 페르소나 생성기", theme=theme, css="styles/c
63
  with gr.Row():
64
  object_image = gr.Image(
65
  label="사물 이미지 (선택사항)",
66
- type="filepath",
67
  height=300,
68
  show_label=True,
69
  show_download_button=False,
70
  container=True,
71
  sources=["upload", "webcam"],
72
- elem_id="object_image_uploader"
 
73
  )
74
  image_analysis_btn = gr.Button("이미지 분석하기")
75
 
 
63
  with gr.Row():
64
  object_image = gr.Image(
65
  label="사물 이미지 (선택사항)",
66
+ type="pil",
67
  height=300,
68
  show_label=True,
69
  show_download_button=False,
70
  container=True,
71
  sources=["upload", "webcam"],
72
+ elem_id="object_image_uploader",
73
+ label_position="top"
74
  )
75
  image_analysis_btn = gr.Button("이미지 분석하기")
76