Flask app.py running in shared cpanel hosting. possible?

Hi , i am trying to run app.py in cpanel in a shared hosting to call a webhook.

here is the code.

import logging
from flask import Flask, request
from waitress import serve
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import pymysql

app = Flask(__name__)

@app.route('/webhook', methods=['POST'])

def wpform_webhook():
    data = request.json
    
    logging.basicConfig(filename='flask_app.log', level=logging.DEBUG)

the port is 5000

plus more code below …

When i run the python app.py in terminal it seems like running but it is not acceptign the webhooks when i tried the url on postman application with json data.

anyone can help if shared hosting allow this kind of flask applications ?

regards