You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dpm_request = tornado.httpclient.HTTPRequest(
url=self.model_url,
method="POST",
body=data,
request_timeout=0, # Set the timeout value as per your needs
# streaming_callback=self.handle_stream, # stream callback
)
is there any way to handle the streaming_callback in a coroutine instead?