Update app.py
Browse files
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)
|