Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files- myinfer_latest.py +2 -0
myinfer_latest.py
CHANGED
@@ -116,6 +116,8 @@ def cleanup_files(file_paths):
|
|
116 |
processed_audio_storage = {}
|
117 |
@app.route('/convert_voice', methods=['POST'])
|
118 |
def api_convert_voice():
|
|
|
|
|
119 |
spk_id = request.form['spk_id']+'.pth'
|
120 |
voice_transform = request.form['voice_transform']
|
121 |
|
|
|
116 |
processed_audio_storage = {}
|
117 |
@app.route('/convert_voice', methods=['POST'])
|
118 |
def api_convert_voice():
|
119 |
+
print(request.form)
|
120 |
+
print(request.files)
|
121 |
spk_id = request.form['spk_id']+'.pth'
|
122 |
voice_transform = request.form['voice_transform']
|
123 |
|