Spaces:
Runtime error
Runtime error
add nsfw safety checker
Browse files- src/generation.py +1 -1
src/generation.py
CHANGED
@@ -15,7 +15,7 @@ def call_generation(data):
|
|
15 |
model_id = os.getenv("MODEL_ID")
|
16 |
url_query = os.getenv("URL_QUERY")
|
17 |
|
18 |
-
batch_size =
|
19 |
repeat_times = 1
|
20 |
|
21 |
headers = {
|
|
|
15 |
model_id = os.getenv("MODEL_ID")
|
16 |
url_query = os.getenv("URL_QUERY")
|
17 |
|
18 |
+
batch_size = 4
|
19 |
repeat_times = 1
|
20 |
|
21 |
headers = {
|