Spaces:
Sleeping
Sleeping
feat: add api_name=exec for clear endpoint
Browse files
app.py
CHANGED
|
@@ -64,6 +64,7 @@ demo = gr.Interface(
|
|
| 64 |
fn=spawn,
|
| 65 |
inputs=gr.Textbox(label="command", lines=1),
|
| 66 |
outputs=gr.Textbox(label="output", lines=10),
|
|
|
|
| 67 |
)
|
| 68 |
|
| 69 |
demo.queue()
|
|
|
|
| 64 |
fn=spawn,
|
| 65 |
inputs=gr.Textbox(label="command", lines=1),
|
| 66 |
outputs=gr.Textbox(label="output", lines=10),
|
| 67 |
+
api_name="exec",
|
| 68 |
)
|
| 69 |
|
| 70 |
demo.queue()
|