Spaces:
Runtime error
Runtime error
Srini Vangala
commited on
Commit
·
24d7353
1
Parent(s):
f76e239
updated one
Browse files
app.py
CHANGED
@@ -6,7 +6,9 @@ import io
|
|
6 |
from PIL import Image
|
7 |
import base64
|
8 |
|
9 |
-
client = Client("https://duchaba-friendly-text-moderation.hf.space/--replicas/gffry/")
|
|
|
|
|
10 |
|
11 |
def moderate_text(text, safer_value):
|
12 |
result = client.predict(
|
|
|
6 |
from PIL import Image
|
7 |
import base64
|
8 |
|
9 |
+
#client = Client("https://duchaba-friendly-text-moderation.hf.space/--replicas/gffry/")
|
10 |
+
client = Client("https://duchaba-friendly-text-moderation.hf.space/--replicas/6rx2j/")
|
11 |
+
|
12 |
|
13 |
def moderate_text(text, safer_value):
|
14 |
result = client.predict(
|