Saqib772 commited on
Commit
5cf2de1
verified
1 Parent(s): 1626e21

Expose the endpoint for gradio app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,4 +99,4 @@ interface = gr.Interface(
99
  ],
100
  examples=[[examples[i]["path"], examples[i]["label"]] for i in range(10)],
101
  cache_examples=True # Adjusted according to the new parameter for caching examples if needed
102
- ).launch()
 
99
  ],
100
  examples=[[examples[i]["path"], examples[i]["label"]] for i in range(10)],
101
  cache_examples=True # Adjusted according to the new parameter for caching examples if needed
102
+ ).launch(api=True) #enable to serve as api