mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-21 05:53:24 -07:00
fix: update content type
This commit is contained in:
parent
fbae9385f1
commit
51ffb7d308
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ def create_flask_app(s2c, c2s, s2flask, kwargs):
|
||||||
frame = open(preview_file, 'rb').read()
|
frame = open(preview_file, 'rb').read()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
yield b'--frame\r\nContent-Type: image/jpeg\r\n\r\n'
|
yield b'--frame\r\nContent-Type: image/png\r\n\r\n'
|
||||||
yield frame
|
yield frame
|
||||||
yield b'\r\n\r\n'
|
yield b'\r\n\r\n'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue