Ailyth commited on
Commit
60332a3
1 Parent(s): dc99f42

error `label` got an empty value.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -198,7 +198,7 @@ div[data-testid="stFileDropzoneInstructions"]>div>span::after {{
198
  </style>'''
199
  st.markdown(css,unsafe_allow_html=True)
200
 
201
- img_raw_path = st.file_uploader("", type=['png', 'jpg', 'jpeg','webp'])
202
 
203
  col1, col2 = st.columns(2)
204
  my_image = ""
 
198
  </style>'''
199
  st.markdown(css,unsafe_allow_html=True)
200
 
201
+ img_raw_path = st.file_uploader("上传图片", type=['png', 'jpg', 'jpeg', 'webp'], label_visibility="collapsed")
202
 
203
  col1, col2 = st.columns(2)
204
  my_image = ""