diff --git a/webdeploy.py b/webdeploy.py index aff5b51..09dafbf 100644 --- a/webdeploy.py +++ b/webdeploy.py @@ -19,13 +19,19 @@ # app.py file ........ from flask import Flask + +# Initialize the Flask application app = Flask(__name__) +# Define a route for the root URL ('/') @app.route('/') def hello_world(): - return 'Hello from Tech VJ' - + # Return a block of ASCII art text when the root URL is accessed + return """Bot is Running""" +# Run the application if __name__ == "__main__": - app.run() + # Set the host to '0.0.0.0' to make the server publicly available + # Set the port to 8080 + app.run(host='0.0.0.0', port=8080)