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