main #3

Merged
tdpeuter merged 116 commits from open-webui/open-webui:main into main 2024-03-26 12:22:23 +01:00
Showing only changes of commit 77ec296ac3 - Show all commits

View file

@ -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: