mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-24 08:22:07 +00:00
You need to seek apparently.
This commit is contained in:
parent
97c5f7e685
commit
10e174b94a
@ -83,6 +83,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