mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 14:55:23 +00:00
chore: print removed
This commit is contained in:
parent
bc80f1438c
commit
77ec296ac3
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue