''' I would like add two servers flask in dash app take output from one server to pass that output as input to one function and return that to same app'''
''' I would like add two servers flask in dash app take output from one server to pass that output as input to one function and return that to same app'''
Could you provide some more details? The question seems overtly vague. From what I understand reading the question's current formulation, you may be able to run another flask server concurrently (this will be cleaner if you are running containers) and simply send a request from the first flask server to the other and use the second server's response as an input inside your function.