python 封装server clint
server:
from flask import Flask, request, jsonify
import json
app = Flask(__name__)
@app.route("/ner_asr", methods=["POST"])
def hello_world():
print("recv:")
try:
text = request.form.get('text')
except:
return "can not get
原创
2021-12-16 16:42:38 ·
517 阅读 ·
0 评论