ginipick commited on
Commit
10414b7
ยท
verified ยท
1 Parent(s): 93623e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -273,6 +273,9 @@ with gr.Blocks(title="Flux + Google GenAI Text Replacement") as demo:
273
  outputs=[output_img, output_txt]
274
  )
275
 
276
- # ์‹ค์ œ ์‹คํ–‰ ์‹œ์—๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด demo.launch()๋ฅผ ํ˜ธ์ถœํ•ฉ๋‹ˆ๋‹ค.
277
  if __name__ == "__main__":
278
- demo.queue(concurrency_count=1, max_size=20).launch()
 
 
 
 
 
273
  outputs=[output_img, output_txt]
274
  )
275
 
 
276
  if __name__ == "__main__":
277
+ # ์ด ์ค„์„ ์ œ๊ฑฐ
278
+ # demo.queue(concurrency_count=1, max_size=20).launch()
279
+
280
+ # ์ด๋ ‡๊ฒŒ ๋ณ€๊ฒฝ
281
+ demo.launch(max_threads=20) # ์ „์ฒด ์ž‘์—…์ž ์ˆ˜ ์„ค์ •