Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
b9df598
1
Parent(s):
6d5cbcf
Update app.py
Browse files
app.py
CHANGED
@@ -89,14 +89,13 @@ def se_mes_im():
|
|
89 |
|
90 |
|
91 |
|
92 |
-
|
93 |
@app.route('/online', methods=['GET'])
|
94 |
def online():
|
95 |
return render_template('online.html')
|
96 |
|
97 |
@app.route('/upload', methods=['POST'])
|
98 |
def upload_file():
|
99 |
-
if 'file' not in request.files:
|
100 |
return "No file part", 400
|
101 |
file = request.files['file']
|
102 |
if file.filename == '':
|
|
|
89 |
|
90 |
|
91 |
|
|
|
92 |
@app.route('/online', methods=['GET'])
|
93 |
def online():
|
94 |
return render_template('online.html')
|
95 |
|
96 |
@app.route('/upload', methods=['POST'])
|
97 |
def upload_file():
|
98 |
+
if 'file' not in request.files:
|
99 |
return "No file part", 400
|
100 |
file = request.files['file']
|
101 |
if file.filename == '':
|