Machlovi commited on
Commit
943b404
·
verified ·
1 Parent(s): 8c910e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import json
4
  import os
5
 
6
  # Configure the endpoint
7
- ENDPOINT_URL = os.environ.get("ENDPOINT_URL", "http://your-endpoint-url.com/predict")
8
 
9
  # Define the function to call your endpoint
10
  def check_safety(input_text):
 
4
  import os
5
 
6
  # Configure the endpoint
7
+ ENDPOINT_URL = os.environ.get("ENDPOINT_URL", "https://avjchykta4krofr8.us-east-1.aws.endpoints.huggingface.cloud")
8
 
9
  # Define the function to call your endpoint
10
  def check_safety(input_text):