forked from open-webui/open-webui
		
	main #3
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue