Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ client = Client("fffiloni/safety-checker-bot", hf_token=hf_token)
|
|
12 |
def safety_check(user_prompt):
|
13 |
|
14 |
response = client.predict(
|
|
|
15 |
user_prompt, # str in 'User sent this' Textbox component
|
16 |
api_name="/infer"
|
17 |
)
|
|
|
12 |
def safety_check(user_prompt):
|
13 |
|
14 |
response = client.predict(
|
15 |
+
"consistent-character space", # str source space
|
16 |
user_prompt, # str in 'User sent this' Textbox component
|
17 |
api_name="/infer"
|
18 |
)
|