Update app.py
Browse files
app.py
CHANGED
|
@@ -153,7 +153,7 @@ def split_and_search(text:str):
|
|
| 153 |
all_data=""
|
| 154 |
plants=text.split(",")
|
| 155 |
for each in plants:
|
| 156 |
-
sp=search_full_plant_information(each.strip()).replace('```json','').replace('```','').split('
|
| 157 |
#yield sp
|
| 158 |
all_data+=sp
|
| 159 |
time.sleep(1)
|
|
|
|
| 153 |
all_data=""
|
| 154 |
plants=text.split(",")
|
| 155 |
for each in plants:
|
| 156 |
+
sp=search_full_plant_information(each.strip()).replace('```json','').replace('```','').split('---')[0]+",\n" #.split('**Sponsored**')[0].split('**Sponsor**')[0]
|
| 157 |
#yield sp
|
| 158 |
all_data+=sp
|
| 159 |
time.sleep(1)
|