bla commited on
Commit
1d7e39d
·
verified ·
1 Parent(s): 355d056

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -619,7 +619,7 @@ def create_ui():
619
 
620
  return demo
621
 
622
-
623
  def main():
624
  """Main function to parse arguments and launch the UI."""
625
  global DEFAULT_MODEL_PATH, DEFAULT_AUDIO_TOKENIZER_PATH, VOICE_PRESETS
@@ -638,7 +638,7 @@ def main():
638
  args = parser.parse_args()
639
 
640
  # Update default values if provided via command line
641
- VOICE_PRESETS = load_voice_presets()
642
 
643
  # Create and launch the UI
644
  demo = create_ui()
 
619
 
620
  return demo
621
 
622
+ VOICE_PRESETS = load_voice_presets()
623
  def main():
624
  """Main function to parse arguments and launch the UI."""
625
  global DEFAULT_MODEL_PATH, DEFAULT_AUDIO_TOKENIZER_PATH, VOICE_PRESETS
 
638
  args = parser.parse_args()
639
 
640
  # Update default values if provided via command line
641
+
642
 
643
  # Create and launch the UI
644
  demo = create_ui()