mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 00:32:05 +00:00
chore: print removed
This commit is contained in:
parent
bc80f1438c
commit
77ec296ac3
@ -964,8 +964,6 @@ async def download_file_stream(
|
||||
done = current_size == total_size
|
||||
progress = round((current_size / total_size) * 100, 2)
|
||||
|
||||
print(progress)
|
||||
|
||||
yield f'data: {{"progress": {progress}, "completed": {current_size}, "total": {total_size}}}\n\n'
|
||||
|
||||
if done:
|
||||
|
Loading…
Reference in New Issue
Block a user