Yaswanth56 commited on
Commit
f107fa0
·
verified ·
1 Parent(s): 21c17bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ SALESFORCE_OAUTH_URL = "https://login.salesforce.com/services/oauth2/authorize"
22
  SALESFORCE_TOKEN_URL = "https://login.salesforce.com/services/oauth2/token"
23
  CLIENT_ID = os.getenv('SALESFORCE_CLIENT_ID', 'your_client_id') # Use environment variables
24
  CLIENT_SECRET = os.getenv('SALESFORCE_CLIENT_SECRET', 'your_client_secret') # Use environment variables
25
- REDIRECT_URI = os.getenv('SALESFORCE_REDIRECT_URI', 'https://huggingface.co/spaces/nagasurendra/BiryaniHubflask21/oauth/callback
26
- ') # Your Hugging Face redirect URI
27
 
28
  # Salesforce connection setup
29
  def get_salesforce_connection():
 
22
  SALESFORCE_TOKEN_URL = "https://login.salesforce.com/services/oauth2/token"
23
  CLIENT_ID = os.getenv('SALESFORCE_CLIENT_ID', 'your_client_id') # Use environment variables
24
  CLIENT_SECRET = os.getenv('SALESFORCE_CLIENT_SECRET', 'your_client_secret') # Use environment variables
25
+ REDIRECT_URI = os.getenv('SALESFORCE_REDIRECT_URI', 'https://huggingface.co/spaces/nagasurendra/BiryaniHubflask21/oauth/callback')
26
+
27
 
28
  # Salesforce connection setup
29
  def get_salesforce_connection():