gopichandra commited on
Commit
3e36603
·
verified ·
1 Parent(s): 4dc998b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -207,7 +207,8 @@ def interact_with_salesforce(mode, entry_type, quantity, extracted_text):
207
 
208
  except Exception as e:
209
  return f"❌ Error interacting with Salesforce: {str(e)}"
210
- elif mode == "Exit":
 
211
  if entry_type == "Sales":
212
  object_name = "Inventory_Management__c"
213
  field_name = "Quantity_Sold__c"
 
207
 
208
  except Exception as e:
209
  return f"❌ Error interacting with Salesforce: {str(e)}"
210
+
211
+ elif mode == "Exit":
212
  if entry_type == "Sales":
213
  object_name = "Inventory_Management__c"
214
  field_name = "Quantity_Sold__c"