microbamboo commited on
Commit
0009ff9
·
1 Parent(s): bc05d54

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ app = Flask(__name__)
9
 
10
  @app.route("/rankall", methods = ['POST'])
11
  def rankall():
12
- d = request.data
13
- return type(d)
14
 
15
  if __name__ == "__main__":
16
  app.run(host="0.0.0.0", port=7860, debug=False)
 
9
 
10
  @app.route("/rankall", methods = ['POST'])
11
  def rankall():
12
+ s = json.dumps({'1': 'a'})
13
+ return s
14
 
15
  if __name__ == "__main__":
16
  app.run(host="0.0.0.0", port=7860, debug=False)