Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import requests
|
|
11 |
#client = Client("https://duchaba-friendly-text-moderation.hf.space/--replicas/6rx2j/")
|
12 |
|
13 |
# Load Hugging Face token from environment variable
|
14 |
-
HF_TOKEN = os.getenv("HF_TOKEN"
|
15 |
|
16 |
def get_dynamic_endpoint():
|
17 |
"""
|
|
|
11 |
#client = Client("https://duchaba-friendly-text-moderation.hf.space/--replicas/6rx2j/")
|
12 |
|
13 |
# Load Hugging Face token from environment variable
|
14 |
+
HF_TOKEN = os.getenv("HF_TOKEN") #, "your_default_hf_token")
|
15 |
|
16 |
def get_dynamic_endpoint():
|
17 |
"""
|