Spaces:
Runtime error
Runtime error
Commit ·
0009ff9
1
Parent(s): bc05d54
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ app = Flask(__name__)
|
|
| 9 |
|
| 10 |
@app.route("/rankall", methods = ['POST'])
|
| 11 |
def rankall():
|
| 12 |
-
|
| 13 |
-
return
|
| 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)
|