sssssungk commited on
Commit
a5292a5
·
verified ·
1 Parent(s): 4984ec4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -191,10 +191,10 @@ def main(file_name):
191
  model.load_state_dict(torch.load(model_name, map_location=torch.device('cpu')))
192
  model.eval() # 평가 모드로 설정
193
 
194
- fake_path = '/tmp/wav'
195
- fake = os.listdir(fake_path)
196
 
197
- rf_check = real_fake_check(fake, fake_path,model) #fake dataset\
198
 
199
  text_list =[]
200
  to_text = os.listdir('/tmp/wav')
 
191
  model.load_state_dict(torch.load(model_name, map_location=torch.device('cpu')))
192
  model.eval() # 평가 모드로 설정
193
 
194
+ path = '/tmp/wav'
195
+ file_path = os.listdir(path)
196
 
197
+ rf_check = real_fake_check(file_path, path,model) #fake dataset\
198
 
199
  text_list =[]
200
  to_text = os.listdir('/tmp/wav')