open-webui/backend/open_webui/apps/webui
Etienne Perot fdd27aa321
fix: close temporary file after creating it.
This fixes "The process cannot access the file
because it is being used by another process"
errors on Windows.

The file is still automatically deleted by the
`os.unlink` call later in the function.

Updates #5606
Fixes #5642
2024-09-23 23:22:47 -07:00
..
internal
models
routers refac 2024-09-21 15:35:35 +02:00
main.py
utils.py fix: close temporary file after creating it. 2024-09-23 23:22:47 -07:00