Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2733,7 +2733,7 @@ def refresh_carriers():
refresh_carriers()

# Carrier upload
carrier_upload_html, carrier_upload_js = create_drop_zone(
carrier_upload_html, carrier_upload_js = create_file_picker(
'matryoshka_carrier', 'image/png,image/jpeg,image/webp',
'/api/matryoshka/add_carrier', 'matryoshka'
)
Expand Down Expand Up @@ -2809,7 +2809,7 @@ def update_depth(e):
depth_slider.on('update:model-value', update_depth)

# Image upload for decode
decode_upload_html, decode_upload_js = create_drop_zone(
decode_upload_html, decode_upload_js = create_file_picker(
'matryoshka_decode', 'image/png',
'/api/upload/decode', 'matryoshka'
)
Expand Down