fix(api): adjust output path for module structure
This commit is contained in:
parent
b59519cb7e
commit
c6662d155d
|
@ -231,4 +231,4 @@ def txt2img():
|
|||
|
||||
@app.route('/output/<path:filename>')
|
||||
def output(filename):
|
||||
return send_from_directory(output_path, filename, as_attachment=False)
|
||||
return send_from_directory(path.join('..', output_path), filename, as_attachment=False)
|
||||
|
|
Loading…
Reference in New Issue