mployd-engineering commited on
Commit
018828a
·
verified ·
1 Parent(s): dbbd706

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -137,5 +137,6 @@ with gr.Blocks(title="CV & Job Matcher") as demo:
137
  # --- Launch ---
138
  if __name__ == "__main__":
139
  load_model()
140
- # Removed api_mode=True, unnecessary in modern Gradio
141
- demo.launch()
 
 
137
  # --- Launch ---
138
  if __name__ == "__main__":
139
  load_model()
140
+ # queue() is essential for processing concurrent requests on Spaces
141
+ demo.queue()
142
+ demo.launch()