mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 22:02:06 +00:00
You need to seek apparently. (#3049)
This commit is contained in:
parent
c00add9c03
commit
cea9dbc971
@ -101,6 +101,7 @@ def container_log(request: SubRequest):
|
|||||||
print(error_log.read(), file=sys.stderr)
|
print(error_log.read(), file=sys.stderr)
|
||||||
else:
|
else:
|
||||||
error_log.truncate(0)
|
error_log.truncate(0)
|
||||||
|
error_log.seek(0)
|
||||||
|
|
||||||
|
|
||||||
class ResponseComparator(JSONSnapshotExtension):
|
class ResponseComparator(JSONSnapshotExtension):
|
||||||
|
Loading…
Reference in New Issue
Block a user