Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ torch.set_float32_matmul_precision('high')
|
|
12 |
# Initialize FastAPI app and ChatTTS model
|
13 |
app = FastAPI()
|
14 |
chat = ChatTTS.Chat()
|
15 |
-
chat.
|
16 |
|
17 |
# Define the request model
|
18 |
class TextRequest(BaseModel):
|
|
|
12 |
# Initialize FastAPI app and ChatTTS model
|
13 |
app = FastAPI()
|
14 |
chat = ChatTTS.Chat()
|
15 |
+
chat.load(compile=False)
|
16 |
|
17 |
# Define the request model
|
18 |
class TextRequest(BaseModel):
|