Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|