Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into yqtts
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangqing committed Nov 8, 2023
2 parents a26dbda + cbe6f9f commit 6e4882e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions advanced/tts/tts_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ def init(self):

self.PRELOAD_MODELS = [
m
for m in os.environ.get("PRELOAD_MODELS", self.PRELOAD_MODELS)
.strip()
.split(",")
for m in os.environ.get("PRELOAD_MODELS", self.PRELOAD_MODELS).split(",")
if m
]
if self.MODEL_NAME not in self.PRELOAD_MODELS:
Expand Down

0 comments on commit 6e4882e

Please sign in to comment.