Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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", "https://
|
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://z3xyxntalfy45pxc.us-east-1.aws.endpoints.huggingface.cloud")
|
8 |
|
9 |
# Define the function to call your endpoint
|
10 |
def check_safety(input_text):
|