Yaswanth56 commited on
Commit
19782fc
·
verified ·
1 Parent(s): 5e0c6a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -14,6 +14,9 @@ SF_PASSWORD = os.getenv('SF_PASSWORD')
14
  SF_SECURITY_TOKEN = os.getenv('SF_SECURITY_TOKEN')
15
  SF_DOMAIN = os.getenv('SF_DOMAIN')
16
 
 
 
 
17
  # Salesforce connection
18
  try:
19
  print("Attempting Salesforce connection...")
 
14
  SF_SECURITY_TOKEN = os.getenv('SF_SECURITY_TOKEN')
15
  SF_DOMAIN = os.getenv('SF_DOMAIN')
16
 
17
+ if __name__ == '__main__':
18
+ app.run(host="0.0.0.0", port=7860, debug=True)
19
+
20
  # Salesforce connection
21
  try:
22
  print("Attempting Salesforce connection...")