Update engines/orpheus_engine.py
Browse files
engines/orpheus_engine.py
CHANGED
|
@@ -203,6 +203,9 @@ class OrpheusEngine(BaseEngine):
|
|
| 203 |
self.repetition_penalty = repetition_penalty
|
| 204 |
self.debug = debug
|
| 205 |
self.queue: "Queue[bytes | None]" = Queue()
|
|
|
|
|
|
|
|
|
|
| 206 |
self.engine_name = "orpheus"
|
| 207 |
|
| 208 |
# ------------------------------------------------------------------ API
|
|
|
|
| 203 |
self.repetition_penalty = repetition_penalty
|
| 204 |
self.debug = debug
|
| 205 |
self.queue: "Queue[bytes | None]" = Queue()
|
| 206 |
+
self.snac = self._load_snac() # Decoder laden
|
| 207 |
+
if self.snac is None: # Fallback-Hinweis
|
| 208 |
+
logging.warning("⚠️ No SNAC – audio generation disabled.")
|
| 209 |
self.engine_name = "orpheus"
|
| 210 |
|
| 211 |
# ------------------------------------------------------------------ API
|