smjain commited on
Commit
8990429
1 Parent(s): f23d1ef

Upload myinfer_latest.py

Browse files
Files changed (1) hide show
  1. myinfer_latest.py +1 -1
myinfer_latest.py CHANGED
@@ -177,7 +177,7 @@ def api_convert_voice():
177
  created_files.extend([vocal_path, inst, output_path])
178
  return jsonify({"message": "File processed successfully", "audio_id": unique_id}), 200
179
  finally:
180
- semaphore.release()
181
  #if os.path.exists(output_path1):
182
 
183
  # return send_file(output_path1, as_attachment=True)
 
177
  created_files.extend([vocal_path, inst, output_path])
178
  return jsonify({"message": "File processed successfully", "audio_id": unique_id}), 200
179
  finally:
180
+ request_semaphore.release()
181
  #if os.path.exists(output_path1):
182
 
183
  # return send_file(output_path1, as_attachment=True)