awacke1 commited on
Commit
0126664
1 Parent(s): f9a4052

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def display_and_manage_cosmos_db():
49
  # Update and Delete buttons for each item
50
  if st.button(f"🗑️ Delete {item['id']}", key=f"delete_{item['id']}"):
51
  partition_key = '/id'
52
- container_client.delete_item(item=item['id'], partition_key)
53
  st.success(f"Deleted Item: {item['id']}")
54
 
55
  # Insert PNG Images with Unique Identifiers
 
49
  # Update and Delete buttons for each item
50
  if st.button(f"🗑️ Delete {item['id']}", key=f"delete_{item['id']}"):
51
  partition_key = '/id'
52
+ container_client.delete_item(item=item['id'], partition_key=partition_key)
53
  st.success(f"Deleted Item: {item['id']}")
54
 
55
  # Insert PNG Images with Unique Identifiers