Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ logger.info(f"Groq API configured with model: {GROQ_MODEL}")
|
|
| 31 |
|
| 32 |
# Load YarnGPT as text-to-speech pipeline
|
| 33 |
try:
|
| 34 |
-
tts_pipeline = pipeline("text-to-speech", model="saheedniyi/YarnGPT"
|
| 35 |
logger.info("Text-to-speech pipeline loaded successfully")
|
| 36 |
except Exception as e:
|
| 37 |
logger.error(f"Error loading text-to-speech pipeline: {e}")
|
|
|
|
| 31 |
|
| 32 |
# Load YarnGPT as text-to-speech pipeline
|
| 33 |
try:
|
| 34 |
+
tts_pipeline = pipeline("text-to-speech", model="saheedniyi/YarnGPT") # from_tf = True)
|
| 35 |
logger.info("Text-to-speech pipeline loaded successfully")
|
| 36 |
except Exception as e:
|
| 37 |
logger.error(f"Error loading text-to-speech pipeline: {e}")
|