mirror of
https://github.com/kaiyuran/Emoji-translator-Server.git
synced 2024-11-22 00:53:39 +00:00
parent
0ab36ce8e1
commit
af4c33a21b
1 changed files with 6 additions and 2 deletions
8
app.py
8
app.py
|
@ -200,11 +200,15 @@ def emojify(message):
|
|||
return final
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
app = Flask(__name__)
|
||||
CORS(app)
|
||||
|
||||
# if __name__ == "__main__":
|
||||
# app.run(port=5500)
|
||||
if __name__ == "__main__":
|
||||
app.run(port=5500)
|
||||
|
||||
@app.route('/getemoji', methods=['GET'])
|
||||
# @cross_origin()
|
||||
|
|
Loading…
Reference in a new issue