Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from IPython.display import Audio
|
|
| 10 |
|
| 11 |
# Initialize and load the model:
|
| 12 |
chat = ChatTTS.Chat()
|
| 13 |
-
chat.load_models(compile=
|
| 14 |
|
| 15 |
# Define the text input for inference (Support Batching)
|
| 16 |
texts = [
|
|
|
|
| 10 |
|
| 11 |
# Initialize and load the model:
|
| 12 |
chat = ChatTTS.Chat()
|
| 13 |
+
chat.load_models(compile=True) # Set to True for better performance
|
| 14 |
|
| 15 |
# Define the text input for inference (Support Batching)
|
| 16 |
texts = [
|