fantaxy commited on
Commit
783af2d
·
verified ·
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
  )