Skip to content

Commit 63f9e23

Browse files
committed
fix(lint): drop unused File import after v1.1.0 handler refactor
v1.1.0 removed the explicit `File(..., alias=speaker_wav)` parameter from the create_speech signature in favour of reading the form directly, which made the `File` symbol unused. CI lint caught it. No functional change.
1 parent ad39576 commit 63f9e23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main_tts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
import numpy as np
111111
import redis.asyncio as aioredis
112112
from dotenv import load_dotenv
113-
from fastapi import FastAPI, File, HTTPException, Request, UploadFile
113+
from fastapi import FastAPI, HTTPException, Request, UploadFile
114114
from fastapi.responses import FileResponse, JSONResponse, Response, StreamingResponse
115115
from pydantic import BaseModel
116116

0 commit comments

Comments
 (0)