Lightning-Universe/stable-diffusion-deploy

UI always shows same time in progress bar (~51 seconds) which is not true

aniketmaurya opened this issue · 0 comments

Send the current avg response time from server to UI

class RootFlow(LightningFlow):
    def __init__(self):
        self.curr_response_time = VALUE

we can use LigthningVariable to update the UI progress bar time.

cc: @pritamsoni-hsr