deepsu commited on
Commit
3903b71
·
1 Parent(s): 15c8340
Files changed (1) hide show
  1. app.py +6 -1
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
+ )