Rensat överflödig kod
This commit is contained in:
@@ -22,10 +22,6 @@ def run_flask():
|
|||||||
# Flask endpoint for user interaction
|
# Flask endpoint for user interaction
|
||||||
app.run(port=5000, debug=True)
|
app.run(port=5000, debug=True)
|
||||||
|
|
||||||
# def start_flask_as_thread():
|
|
||||||
# # Start the Flask app in a separate thread
|
|
||||||
# threading.Thread(target=run_flask).start()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@app.route('/smartassist', methods=['POST'])
|
@app.route('/smartassist', methods=['POST'])
|
||||||
|
|||||||
Reference in New Issue
Block a user