Push to hf
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -279,7 +279,7 @@ class EndpointHandler:
|
|
279 |
|
280 |
print(self.inference_progress)
|
281 |
|
282 |
-
def check_progress(self, request_id: str) ->
|
283 |
progress = self.inference_progress.get(request_id, 0)
|
284 |
latest_image = self.inference_images.get(request_id, None)
|
285 |
|
|
|
279 |
|
280 |
print(self.inference_progress)
|
281 |
|
282 |
+
def check_progress(self, request_id: str) -> Dict[str, Union[str, float]]:
|
283 |
progress = self.inference_progress.get(request_id, 0)
|
284 |
latest_image = self.inference_images.get(request_id, None)
|
285 |
|