Spaces:
Sleeping
Sleeping
Commit
·
3b4a72e
1
Parent(s):
6d2280a
test commit fixing typo
Browse files
validators/sn1_validator_wrapper.py
CHANGED
|
@@ -118,7 +118,7 @@ class S1ValidatorAPI(ValidatorAPI):
|
|
| 118 |
streamed_chunks_timings=chunks_timings,
|
| 119 |
)
|
| 120 |
else:
|
| 121 |
-
raise ValueError("The last
|
| 122 |
|
| 123 |
async def get_stream_response(self, params: QueryValidatorParams) -> StreamResponse:
|
| 124 |
response = StreamResponse(status=200, reason="OK")
|
|
|
|
| 118 |
streamed_chunks_timings=chunks_timings,
|
| 119 |
)
|
| 120 |
else:
|
| 121 |
+
raise ValueError("The last chunks not a StreamPrompting synapse")
|
| 122 |
|
| 123 |
async def get_stream_response(self, params: QueryValidatorParams) -> StreamResponse:
|
| 124 |
response = StreamResponse(status=200, reason="OK")
|