angkor96 commited on
Commit
0e62c8f
Β·
verified Β·
1 Parent(s): 8e2886d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -31,7 +31,8 @@ iface = gr.Interface(
31
  outputs=gr.Textbox(label="αž’αžαŸ’αžαž”αž‘αžŸαž„αŸ’αžαŸαž”"),
32
  title="Khmer News Summarization API",
33
  description="API service powered by angkor96/khmer-news-summarization",
34
- api_name="predict" # <-- this exposes /run/predict
 
35
  )
36
 
37
  iface.launch()
 
31
  outputs=gr.Textbox(label="αž’αžαŸ’αžαž”αž‘αžŸαž„αŸ’αžαŸαž”"),
32
  title="Khmer News Summarization API",
33
  description="API service powered by angkor96/khmer-news-summarization",
34
+ api_name="predict", # <-- this exposes /run/predict
35
+ allow_api=True
36
  )
37
 
38
  iface.launch()