Ramesh-vani commited on
Commit
58413b3
·
1 Parent(s): 77c7c76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -189,8 +189,8 @@ with gradio.Blocks() as demo:
189
  code_button = gradio.Button("submit code@lanuage")
190
 
191
 
192
- command_button.click(run_command, inputs=command_input, outputs=command_output)
193
- code_button.click(run_code, inputs=code_input, outputs=code_output)
194
 
195
  if __name__ == "__main__":
196
  demo.launch()
 
189
  code_button = gradio.Button("submit code@lanuage")
190
 
191
 
192
+ command_button.click(run_command, inputs=command_input, outputs=command_output,api_name='command')
193
+ code_button.click(run_code, inputs=code_input, outputs=code_output,api_name='code')
194
 
195
  if __name__ == "__main__":
196
  demo.launch()