Nymbo commited on
Commit
8b22806
·
verified ·
1 Parent(s): 93bb3e0

Update Modules/Shell_Command.py

Browse files
Files changed (1) hide show
  1. Modules/Shell_Command.py +3 -3
Modules/Shell_Command.py CHANGED
@@ -117,9 +117,9 @@ def build_interface() -> gr.Interface:
117
  return gr.Interface(
118
  fn=Shell_Command,
119
  inputs=[
120
- gr.Textbox(label="Command", placeholder="echo hello || dir", lines=2),
121
- gr.Textbox(label="Workdir", value=".", max_lines=1),
122
- gr.Slider(minimum=0, maximum=600, step=5, value=60, label="Timeout (seconds)"),
123
  ],
124
  outputs=gr.Textbox(label="Output", lines=20),
125
  title="Shell Command",
 
117
  return gr.Interface(
118
  fn=Shell_Command,
119
  inputs=[
120
+ gr.Textbox(label="Command", placeholder="echo hello || dir", lines=2, info="Shell command to execute"),
121
+ gr.Textbox(label="Workdir", value=".", max_lines=1, info="Working directory (relative to root)"),
122
+ gr.Slider(minimum=0, maximum=600, step=5, value=60, label="Timeout (seconds)", info="Timeout in seconds (0 = no timeout)"),
123
  ],
124
  outputs=gr.Textbox(label="Output", lines=20),
125
  title="Shell Command",