iryx commited on
Commit
ccece45
·
1 Parent(s): 23101ef

feat: add api_name=exec for clear endpoint

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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()