Spaces:
Runtime error
Runtime error
Update src/app.py
Browse files- src/app.py +1 -3
src/app.py
CHANGED
@@ -153,6 +153,4 @@ def upload_document():
|
|
153 |
|
154 |
return jsonify({'message': 'Document uploaded and indexed successfully'})
|
155 |
|
156 |
-
return jsonify({'message': 'No file uploaded'})
|
157 |
-
if __name__=='__main__':
|
158 |
-
app.run()
|
|
|
153 |
|
154 |
return jsonify({'message': 'Document uploaded and indexed successfully'})
|
155 |
|
156 |
+
return jsonify({'message': 'No file uploaded'})
|
|
|
|