Spaces:
Running
Running
Upload myinfer_latest.py
Browse files- 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 |
-
|
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)
|