Update app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,9 @@ def split_and_search(text:str):
|
|
| 131 |
all_data=""
|
| 132 |
plants=text.split(",")
|
| 133 |
for each in plants:
|
| 134 |
-
|
|
|
|
|
|
|
| 135 |
time.sleep(1)
|
| 136 |
return all_data
|
| 137 |
|
|
|
|
| 131 |
all_data=""
|
| 132 |
plants=text.split(",")
|
| 133 |
for each in plants:
|
| 134 |
+
sp=search_full_plant_information(each.strip()).replace('```json','').replace('```','').split('**Sponsored**')[0]+"\n\n"
|
| 135 |
+
yield sp
|
| 136 |
+
all_data+=sp
|
| 137 |
time.sleep(1)
|
| 138 |
return all_data
|
| 139 |
|