There was an error while loading. Please reload this page.
1 parent fa14718 commit ec939f3Copy full SHA for ec939f3
launch/model_endpoint.py
@@ -305,7 +305,7 @@ def __next__(self):
305
"""Uses server-sent events to iterate through the stream."""
306
event = self.events.__next__()
307
data = json.loads(event.data)
308
- result = data.get("result", {})
+ result = data.get("result", {}) or {}
309
return EndpointResponse(
310
client=None,
311
status=data["status"],
0 commit comments