Update app.py
Browse files
app.py
CHANGED
@@ -164,6 +164,7 @@ def index():
|
|
164 |
|
165 |
if response.status_code == 200:
|
166 |
uploaded_data = response.json()['data']
|
|
|
167 |
return jsonify({"status": "success", "url": uploaded_data})
|
168 |
else:
|
169 |
return jsonify({"status": "error", "message": "Ошибка при загрузке файла на сервер"})
|
|
|
164 |
|
165 |
if response.status_code == 200:
|
166 |
uploaded_data = response.json()['data']
|
167 |
+
print(uploaded_data)
|
168 |
return jsonify({"status": "success", "url": uploaded_data})
|
169 |
else:
|
170 |
return jsonify({"status": "error", "message": "Ошибка при загрузке файла на сервер"})
|