Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
| 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 |
)
|