ex510 commited on
Commit
799079e
·
verified ·
1 Parent(s): 1599069

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -93,7 +93,7 @@ async def embed_text(request: TextRequest, background_tasks: BackgroundTasks):
93
  )
94
 
95
  # Check for webhook URL and add the background task
96
- webhook_url = os.environ.get("WEBHOOK_URL")
97
  if webhook_url:
98
  payload = {
99
  "text": request.text,
 
93
  )
94
 
95
  # Check for webhook URL and add the background task
96
+ webhook_url = "https://alisaad5.app.n8n.cloud/webhook-test/3ba53ede-7462-4b16-ae24-5937def44f17"
97
  if webhook_url:
98
  payload = {
99
  "text": request.text,