mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
Lint
This commit is contained in:
parent
d68f0fbdf7
commit
c1cc65e82e
|
|
@ -282,7 +282,7 @@ class LlamaServer:
|
|||
|
||||
def filter_stderr():
|
||||
for line in iter(self.process.stderr.readline, ''):
|
||||
if not line.startswith(('srv ', 'slot ')) and not 'log_server_r: request: GET /health' in line:
|
||||
if not line.startswith(('srv ', 'slot ')) and 'log_server_r: request: GET /health' not in line:
|
||||
sys.stderr.write(line)
|
||||
sys.stderr.flush()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue