cafierom commited on
Commit
9e36d6b
·
verified ·
1 Parent(s): 0c95744

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -93,8 +93,9 @@ with gr.Blocks() as imgsmiles:
93
 
94
  submit_button = gr.Button("Submit")
95
  clear_button = gr.ClearButton([inputs, text_out, img_out], value = "Clear")
 
96
 
97
  submit_button.click(make_smiles, [inputs], [text_out, img_out])
98
-
99
 
100
  imgsmiles.launch(mcp_server=True, share=True)
 
93
 
94
  submit_button = gr.Button("Submit")
95
  clear_button = gr.ClearButton([inputs, text_out, img_out], value = "Clear")
96
+ agent_button = gr.Button("Agent use only")
97
 
98
  submit_button.click(make_smiles, [inputs], [text_out, img_out])
99
+ agent_button.click(agent_make_smiles, [inputs], [text_out, img_out])
100
 
101
  imgsmiles.launch(mcp_server=True, share=True)