Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -176,10 +176,9 @@ with gr.Blocks(title="CV & Job Matcher") as demo:
|
|
| 176 |
# )
|
| 177 |
|
| 178 |
|
| 179 |
-
# --- Launch ---
|
| 180 |
-
if __name__ == "__main__":
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
demo.launch(server_name="0.0.0.0")
|
|
|
|
| 176 |
# )
|
| 177 |
|
| 178 |
|
| 179 |
+
# --- Launch ---
|
| 180 |
+
if __name__ == "__main__":
|
| 181 |
+
load_model()
|
| 182 |
+
# queue() with api_open=True enables HTTP POST API access
|
| 183 |
+
demo.queue(api_open=True)
|
| 184 |
+
demo.launch(server_name="0.0.0.0")
|
|
|