multimodalart HF Staff commited on
Commit
91199a5
·
verified ·
1 Parent(s): f85981c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -772,8 +772,6 @@ with gr.Blocks(title="Qwen Image 2.1 Demo") as demo:
772
  concurrency_limit=2,
773
  )
774
 
775
- demo.queue(default_concurrency_limit=10, max_size=20)
776
-
777
  if __name__ == "__main__":
778
  # 使用 os.path.realpath 解析真实路径,避免 NAS 软链接导致 Gradio 文件权限检查失败(404)
779
  _script_dir = os.path.realpath(os.path.dirname(os.path.abspath(__file__)))
 
772
  concurrency_limit=2,
773
  )
774
 
 
 
775
  if __name__ == "__main__":
776
  # 使用 os.path.realpath 解析真实路径,避免 NAS 软链接导致 Gradio 文件权限检查失败(404)
777
  _script_dir = os.path.realpath(os.path.dirname(os.path.abspath(__file__)))