mirror of
https://github.com/open-webui/open-webui
synced 2024-11-26 14:02:29 +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
|
done = current_size == total_size
|
||||||
progress = round((current_size / total_size) * 100, 2)
|
progress = round((current_size / total_size) * 100, 2)
|
||||||
|
|
||||||
print(progress)
|
|
||||||
|
|
||||||
yield f'data: {{"progress": {progress}, "completed": {current_size}, "total": {total_size}}}\n\n'
|
yield f'data: {{"progress": {progress}, "completed": {current_size}, "total": {total_size}}}\n\n'
|
||||||
|
|
||||||
if done:
|
if done:
|
||||||
|
Loading…
Reference in New Issue
Block a user