Junjie96 commited on
Commit
6475329
1 Parent(s): 4d77ce5

add nsfw safety checker

Browse files
Files changed (1) hide show
  1. 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 = 2
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 = {