LovnishVerma commited on
Commit
96f5e97
·
verified ·
1 Parent(s): 3935a4e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -24,7 +24,7 @@ ALLOWED_EXTENSIONS = set(['png', 'jpg', 'jpeg'])
24
  # Connect to MongoDB Atlas
25
  client = MongoClient("mongodb+srv://test:[email protected]/?retryWrites=true&w=majority")
26
  db = client['brain_tumor_detection'] # Database name
27
- collection = db['predictions'] # Collection name
28
 
29
  def allowed_file(filename):
30
  """Check if the file is a valid image format (png, jpg, jpeg)."""
 
24
  # Connect to MongoDB Atlas
25
  client = MongoClient("mongodb+srv://test:[email protected]/?retryWrites=true&w=majority")
26
  db = client['brain_tumor_detection'] # Database name
27
+ collection = db['btpredictions'] # Collection name
28
 
29
  def allowed_file(filename):
30
  """Check if the file is a valid image format (png, jpg, jpeg)."""