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
51ffb7d308
commit
08e736ba9a
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ def create_flask_app(s2c, c2s, s2flask, kwargs):
|
||||||
|
|
||||||
@app.route('/preview_image')
|
@app.route('/preview_image')
|
||||||
def preview_image():
|
def preview_image():
|
||||||
return send_file(preview_file, mimetype='image/jpeg', cache_timeout=-1)
|
return send_file(preview_file, mimetype='image/png', cache_timeout=-1)
|
||||||
|
|
||||||
socketio = SocketIO(app)
|
socketio = SocketIO(app)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue