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

Update app.py

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