seawolf2357 commited on
Commit
69d9f0d
·
verified ·
1 Parent(s): ed5959f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -224,13 +224,6 @@ with gr.Blocks(css_paths="app.css") as demo:
224
  except Exception as e:
225
  raise ValueError(f'Error calling Claude API: {str(e)}')
226
 
227
- btn.click(
228
- generation_code,
229
- inputs=[input, setting, history],
230
- outputs=[code_output, history, sandbox, state_tab, code_drawer]
231
- )
232
-
233
- clear_btn.click(clear_history, inputs=[], outputs=[history])
234
 
235
  if __name__ == "__main__":
236
  demo.queue(default_concurrency_limit=20).launch(ssr_mode=False)
 
224
  except Exception as e:
225
  raise ValueError(f'Error calling Claude API: {str(e)}')
226
 
 
 
 
 
 
 
 
227
 
228
  if __name__ == "__main__":
229
  demo.queue(default_concurrency_limit=20).launch(ssr_mode=False)