"src/diffusers/models/modeling_utils.py" did not exist on "110ffe25897dd291d8f080403d3ea383318cf2e0"
Commit dcb6ba38 authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

app: trim server lines before logging

parent ed6abba7
...@@ -59,11 +59,11 @@ function server() { ...@@ -59,11 +59,11 @@ function server() {
const proc = spawn(binary, ['serve']) const proc = spawn(binary, ['serve'])
proc.stdout.on('data', data => { proc.stdout.on('data', data => {
logger.info(data.toString()) logger.info(data.toString().trim())
}) })
proc.stderr.on('data', data => { proc.stderr.on('data', data => {
logger.error(data.toString()) logger.error(data.toString().trim())
}) })
proc.on('exit', () => { proc.on('exit', () => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment