Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files131 unmodified lines132133134135136137138139140141142143131 unmodified linesreturn jsonify({"error": "Too many requests, please try again later"}), 429try:if session.get('submitted'):return jsonify({"error": "Form already submitted"}), 400# Process the form here...# Set the flag indicating the form has been submittedsession['submitted'] = Trueprint(request.form)print(request.files)spk_id = request.form['spk_id']+'.pth'131 unmodified lines132133134135136137138139140141142143131 unmodified linesreturn jsonify({"error": "Too many requests, please try again later"}), 429try:#if session.get('submitted'):# return jsonify({"error": "Form already submitted"}), 400# Process the form here...# Set the flag indicating the form has been submitted#session['submitted'] = Trueprint(request.form)print(request.files)spk_id = request.form['spk_id']+'.pth'
myinfer_latest.py+3-3