Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
|
@@ -41,4 +41,9 @@ interface = gr.Interface(
|
|
| 41 |
title="CV Matching API"
|
| 42 |
)
|
| 43 |
|
| 44 |
-
interface.launch(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
title="CV Matching API"
|
| 42 |
)
|
| 43 |
|
| 44 |
+
interface.launch(
|
| 45 |
+
server_name="0.0.0.0", # required for hosted Spaces
|
| 46 |
+
server_port=7860,
|
| 47 |
+
queue=True, # handles multiple requests safely
|
| 48 |
+
enable_api=True # exposes a true JSON REST API
|
| 49 |
+
)
|