3v324v23 commited on
Commit
7c057be
1 Parent(s): 631a82f

Push to hf

Browse files
Files changed (1) hide show
  1. 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) -> dict[str, str | float]:
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