Skip to content

Commit

Permalink
update webui.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyongliang committed Apr 13, 2023
1 parent 0b680c8 commit 823e510
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
s3_resource= boto3.resource('s3')

def s3_download(s3uri, path):
global cache

pos = s3uri.find('/', 5)
bucket = s3uri[5 : pos]
key = s3uri[pos + 1 : ]
Expand Down

0 comments on commit 823e510

Please sign in to comment.