Junr-syl commited on
Commit
d57284e
·
1 Parent(s): 4e05993

Update src/app.py

Browse files
Files changed (1) hide show
  1. 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'})