Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ print("Loading TTS model with Unsloth...")
|
|
| 48 |
#tts_tokenizer = AutoTokenizer.from_pretrained(TTS_MODEL_ID)
|
| 49 |
|
| 50 |
tts_model, tts_tokenizer = FastLanguageModel.from_pretrained(
|
| 51 |
-
model_name =
|
| 52 |
max_seq_length= 2048, # Choose any for long context!
|
| 53 |
dtype = None, # Select None for auto detection
|
| 54 |
load_in_4bit = False, # Select True for 4bit which reduces memory usage
|
|
|
|
| 48 |
#tts_tokenizer = AutoTokenizer.from_pretrained(TTS_MODEL_ID)
|
| 49 |
|
| 50 |
tts_model, tts_tokenizer = FastLanguageModel.from_pretrained(
|
| 51 |
+
model_name =TTS_MODEL_ID,
|
| 52 |
max_seq_length= 2048, # Choose any for long context!
|
| 53 |
dtype = None, # Select None for auto detection
|
| 54 |
load_in_4bit = False, # Select True for 4bit which reduces memory usage
|