fantaxy commited on
Commit
783af2d
โ€ข
1 Parent(s): 6c25594

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -196,7 +196,7 @@ with gr.Blocks(css=css) as demo:
196
  # ํฌํŠธ 7890 ์„ค์ •, ๋Œ€๊ธฐ์—ด ํ™œ์„ฑํ™”, API ํ™œ์„ฑํ™”
197
  demo.launch(
198
  server_port=7890,
199
- enable_queue=True,
200
- max_queue=10,
201
- api="enabled" # API๋ฅผ ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค.
202
  )
 
196
  # ํฌํŠธ 7890 ์„ค์ •, ๋Œ€๊ธฐ์—ด ํ™œ์„ฑํ™”, API ํ™œ์„ฑํ™”
197
  demo.launch(
198
  server_port=7890,
199
+ queue=True, # ๋Œ€๊ธฐ์—ด์„ ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค.
200
+ max_queue=10, # ๋Œ€๊ธฐ์—ด์˜ ์ตœ๋Œ€ ํฌ๊ธฐ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.
201
+ api_mode="enabled" # API๋ฅผ ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค.
202
  )