Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
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 |
-
|
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")
|