Shokoufehhh commited on
Commit
47a9a4c
·
verified ·
1 Parent(s): e8ab924

Update app.py

Browse files

Added checkpoint for speech enhancement

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from sgmse.model import ScoreModel
4
  import gradio as gr
5
 
6
  # Load the pre-trained model
7
- model = ScoreModel.load_from_checkpoint("path/to/your/checkpoint.ckpt")
8
 
9
  def enhance_speech(audio_file):
10
  # Load and process the audio file
 
4
  import gradio as gr
5
 
6
  # Load the pre-trained model
7
+ model = ScoreModel.load_from_checkpoint("pretrained_checkpoints/speech_enhancement/train_vb_29nqe0uh_epoch=115.ckpt")
8
 
9
  def enhance_speech(audio_file):
10
  # Load and process the audio file