Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ def download_file(filepath):
|
|
155 |
# Add logging for better error tracking
|
156 |
print(f"Download error for {filepath}: {str(e)}")
|
157 |
return jsonify({'error': str(e)}), 500
|
158 |
-
|
159 |
@app.route('/api/files/upload', methods=['POST'])
|
160 |
@require_auth
|
161 |
def upload_file():
|
|
|
155 |
# Add logging for better error tracking
|
156 |
print(f"Download error for {filepath}: {str(e)}")
|
157 |
return jsonify({'error': str(e)}), 500
|
158 |
+
|
159 |
@app.route('/api/files/upload', methods=['POST'])
|
160 |
@require_auth
|
161 |
def upload_file():
|