npc0 commited on
Commit
0118ef0
Β·
verified Β·
1 Parent(s): 3ebd172

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -142,5 +142,5 @@ with gr.Blocks() as demo:
142
  api_name="sync" # 重要: 前端 client.predict("/sync") 用這個名字
143
  )
144
 
145
- # ε•Ÿε‹•δΈ¦ε…θ¨±θ·¨εŸŸ (CORS)
146
- demo.queue(max_size=50).launch(cors_allowed_origins=["*"])
 
142
  api_name="sync" # 重要: 前端 client.predict("/sync") 用這個名字
143
  )
144
 
145
+ # ε•Ÿε‹•
146
+ demo.queue().launch()