Ahsen Khaliq commited on
Commit
39540ac
1 Parent(s): d46b8b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ import soundfile
7
  import torch
8
  import gradio as gr
9
 
10
- os.chdir("SpecVQGAN")
11
-
12
  from feature_extraction.demo_utils import (calculate_codebook_bitrate,
13
  extract_melspectrogram,
14
  get_audio_file_bitrate,
 
7
  import torch
8
  import gradio as gr
9
 
10
+ import sys
11
+ sys.path.append('./SpecVQGAN')
12
  from feature_extraction.demo_utils import (calculate_codebook_bitrate,
13
  extract_melspectrogram,
14
  get_audio_file_bitrate,