Sebastian Bodza commited on
Commit
c105faf
·
1 Parent(s): 0b42a1d

Add MiraTTS model and web interface; remove launch script

Browse files
app.py → archive/app.py RENAMED
@@ -9,7 +9,7 @@ from mira.model import MiraTTS
9
 
10
  MODEL = None
11
 
12
- def initialize_model(model_dir="YatharthS/MiraTTS"):
13
  """Load the MiraTTS model once at the beginning."""
14
  logging.info(f"Loading MiraTTS model from: {model_dir}")
15
  model = MiraTTS(model_dir)
@@ -288,7 +288,7 @@ def parse_arguments():
288
  parser.add_argument(
289
  "--model_dir",
290
  type=str,
291
- default="YatharthS/MiraTTS",
292
  help="Path to the MiraTTS model directory or HuggingFace model ID"
293
  )
294
  parser.add_argument(
 
9
 
10
  MODEL = None
11
 
12
+ def initialize_model(model_dir="SebastianBodza/mira_tts_german_emotions_3epochs"):
13
  """Load the MiraTTS model once at the beginning."""
14
  logging.info(f"Loading MiraTTS model from: {model_dir}")
15
  model = MiraTTS(model_dir)
 
288
  parser.add_argument(
289
  "--model_dir",
290
  type=str,
291
+ default="SebastianBodza/mira_tts_german_emotions_3epochs",
292
  help="Path to the MiraTTS model directory or HuggingFace model ID"
293
  )
294
  parser.add_argument(
launch.py → archive/launch.py RENAMED
@@ -13,7 +13,7 @@ def main():
13
  parser.add_argument("--port", type=int, default=7860, help="Port to run on")
14
  parser.add_argument("--host", default="127.0.0.1", help="Host to bind to")
15
  parser.add_argument("--share", action="store_true", help="Create public share link")
16
- parser.add_argument("--model", default="YatharthS/MiraTTS", help="Model path or HF model ID")
17
 
18
  args = parser.parse_args()
19
 
 
13
  parser.add_argument("--port", type=int, default=7860, help="Port to run on")
14
  parser.add_argument("--host", default="127.0.0.1", help="Host to bind to")
15
  parser.add_argument("--share", action="store_true", help="Create public share link")
16
+ parser.add_argument("--model", default="SebastianBodza/mira_tts_german_emotions_3epochs", help="Model path or HF model ID")
17
 
18
  args = parser.parse_args()
19