XMMR12 commited on
Commit
4c813ac
·
verified ·
1 Parent(s): e6dadb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -143,8 +143,8 @@ with gr.Blocks(title="AI-Powered Medicinal Plants Database") as app:
143
  #json_output = gr.JSON(label="AI-Processed Results")
144
 
145
  fetch_btn.click(
146
- #fn=process_plants(plants),
147
- fn=lambda x: process_plants([p.strip() for p in x.split(",")]),
148
  inputs=plant_input,
149
  outputs=output_area #json_output
150
  )
 
143
  #json_output = gr.JSON(label="AI-Processed Results")
144
 
145
  fetch_btn.click(
146
+ fn=search_full_plant_information,
147
+ #fn=lambda x: process_plants([p.strip() for p in x.split(",")]),
148
  inputs=plant_input,
149
  outputs=output_area #json_output
150
  )