LiuZichen commited on
Commit
fdc6404
·
verified ·
1 Parent(s): 0a82fe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -306,8 +306,7 @@ with gr.Blocks(css=css) as demo:
306
  Note: This demo is governed by the license of CC BY-NC 4.0 We strongly advise users not to knowingly generate or allow others to knowingly generate harmful content, including hate speech, violence, pornography, deception, etc. (注:本演示受CC BY-NC的许可协议限制。我们强烈建议,用户不应传播及不应允许他人传播以下内容,包括但不限于仇恨言论、暴力、色情、欺诈相关的有害信息。)
307
  """)
308
 
309
- gr.queue(max_size=20, status_update_rate=0.1)
310
-
311
  app = FastAPI()
312
 
313
  @app.post("/magic_quill/guess_prompt")
 
306
  Note: This demo is governed by the license of CC BY-NC 4.0 We strongly advise users not to knowingly generate or allow others to knowingly generate harmful content, including hate speech, violence, pornography, deception, etc. (注:本演示受CC BY-NC的许可协议限制。我们强烈建议,用户不应传播及不应允许他人传播以下内容,包括但不限于仇恨言论、暴力、色情、欺诈相关的有害信息。)
307
  """)
308
 
309
+ demo.queue(max_size=20, status_update_rate=0.1)
 
310
  app = FastAPI()
311
 
312
  @app.post("/magic_quill/guess_prompt")