smjain commited on
Commit
cf1e03c
1 Parent(s): b44b510

Upload infertest.py

Browse files
Files changed (1) hide show
  1. infertest.py +3 -1
infertest.py CHANGED
@@ -104,14 +104,16 @@ def api_convert_voice():
104
  spk_id = data['spk_id']
105
  input_audio_path = data['input_audio_path']
106
  voice_transform = data['voice_transform']
 
107
 
108
 
109
  output_path = convert_voice(spk_id, input_audio_path, voice_transform)
 
110
  return jsonify({"output_audio_path": output_path})
111
 
112
 
113
  def convert_voice(spk_id, input_audio_path, voice_transform):
114
-
115
  output_audio_path = vc_single(
116
  sid=spk_id,
117
  input_audio_path=input_audio_path,
 
104
  spk_id = data['spk_id']
105
  input_audio_path = data['input_audio_path']
106
  voice_transform = data['voice_transform']
107
+ print(spk_id)
108
 
109
 
110
  output_path = convert_voice(spk_id, input_audio_path, voice_transform)
111
+ print(output_path)
112
  return jsonify({"output_audio_path": output_path})
113
 
114
 
115
  def convert_voice(spk_id, input_audio_path, voice_transform):
116
+ print("called convert voice")
117
  output_audio_path = vc_single(
118
  sid=spk_id,
119
  input_audio_path=input_audio_path,