bstraehle commited on
Commit
0b54a3d
·
verified ·
1 Parent(s): d127976

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -51,9 +51,12 @@ def invoke(openai_api_key, prompt, rag_option):
51
 
52
  listings = process_records(dataset_df)
53
  print("333")
54
-
 
55
  print("444")
56
  db, collection = connect_to_database()
 
 
57
  collection.delete_many({})
58
  collection.insert_many(listings)
59
  print("Data ingestion into MongoDB completed")
 
51
 
52
  listings = process_records(dataset_df)
53
  print("333")
54
+ """
55
+
56
  print("444")
57
  db, collection = connect_to_database()
58
+
59
+ """
60
  collection.delete_many({})
61
  collection.insert_many(listings)
62
  print("Data ingestion into MongoDB completed")