Spaces:
Runtime error
Runtime error
imseldrith
commited on
Commit
·
390a6d5
1
Parent(s):
4e4e688
Update app.py
Browse files
app.py
CHANGED
@@ -42,10 +42,10 @@ def index():
|
|
42 |
|
43 |
return render_template('index.html')
|
44 |
|
45 |
-
@app.route('/
|
46 |
def output(filename):
|
47 |
return render_template('output.html', filename=filename)
|
48 |
-
@app.route('/
|
49 |
def output_image(filename):
|
50 |
return app.send_static_file(os.path.join(app.config['OUTPUT_FOLDER'], filename))
|
51 |
|
|
|
42 |
|
43 |
return render_template('index.html')
|
44 |
|
45 |
+
@app.route('/output_files/<filename>')
|
46 |
def output(filename):
|
47 |
return render_template('output.html', filename=filename)
|
48 |
+
@app.route('/output_files/<filename>')
|
49 |
def output_image(filename):
|
50 |
return app.send_static_file(os.path.join(app.config['OUTPUT_FOLDER'], filename))
|
51 |
|