ufc-predictor / test_handler.py
zjpiazza's picture
Updated file structure and added predictor.py
cf2059c
from handler import EndpointHandler
# Initialize the handler
handler = EndpointHandler()
# Sample payload
payload = {"fighter1": "Conor McGregor", "fighter2": "Khabib Nurmagomedov"}
# Run the handler
result = handler(payload)
print(result)