Deadmon commited on
Commit
dcd4279
·
verified ·
1 Parent(s): b27125e

Update test_webhook_and_start.py

Browse files
Files changed (1) hide show
  1. test_webhook_and_start.py +3 -3
test_webhook_and_start.py CHANGED
@@ -9,7 +9,7 @@ import os
9
  from http.client import HTTPConnection
10
 
11
  # Configure logging to write to both file and console
12
- LOG_FILE = "/app/test.log"
13
  os.makedirs(os.path.dirname(LOG_FILE), exist_ok=True)
14
  logging.basicConfig(
15
  level=logging.INFO,
@@ -22,8 +22,8 @@ logging.basicConfig(
22
  logger = logging.getLogger(__name__)
23
 
24
  # Base URL of your Hugging Face Space or local server
25
- BASE_URL = "https://<your-space>.hf.space" # Replace with your Space URL
26
- WEBHOOK_SECRET = "your-base64-encoded-secret" # Replace with your webhook secret
27
 
28
  @pytest.fixture
29
  def webhook_url():
 
9
  from http.client import HTTPConnection
10
 
11
  # Configure logging to write to both file and console
12
+ LOG_FILE = "/pipecat/test.log"
13
  os.makedirs(os.path.dirname(LOG_FILE), exist_ok=True)
14
  logging.basicConfig(
15
  level=logging.INFO,
 
22
  logger = logging.getLogger(__name__)
23
 
24
  # Base URL of your Hugging Face Space or local server
25
+ BASE_URL="https://deadmon-pipecat.hf.space/webhook" # Replace with your endpoint
26
+ WEBHOOK_SECRET="eW91ci1zZWNyZXQtc3RyaW5n" # Base64-encoded secret
27
 
28
  @pytest.fixture
29
  def webhook_url():