Skip to content

Commit eb12a91

Browse files
committed
cleanup
1 parent 003d7d7 commit eb12a91

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/ui.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1592,8 +1592,7 @@ def update_orig(image, state):
15921592
with gr.Tabs(elem_id="train_tabs"):
15931593
## Begin add s3 images upload interface by River
15941594
def upload_to_s3(imgs,request : gr.Request):
1595-
username = get_webui_username(request)
1596-
print (f'--get_webui_username--:{username}')
1595+
username = shared.get_webui_username(request)
15971596
timestamp = datetime.now(timezone(timedelta(hours=+8))).strftime('%Y-%m-%dT%H:%M:%S')
15981597
bucket_name = opts.train_files_s3bucket.replace('s3://','')
15991598
if bucket_name.endswith('/'):

0 commit comments

Comments
 (0)