This commit is contained in:
Timothy Jaeryang Baek
2026-04-12 12:36:21 -05:00
parent a2a9a3a42a
commit 15f9a8f3f1
3 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -1585,7 +1585,7 @@ async def download_model(
file_name = parse_huggingface_url(form_data.url)
if file_name:
file_path = f'{UPLOAD_DIR}/{file_name}'
file_path = os.path.join(UPLOAD_DIR, file_name)
return StreamingResponse(
download_file_stream(url, form_data.url, file_path, file_name),