XMMR12 commited on
Commit
e883e28
·
verified ·
1 Parent(s): 8046fd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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('**Sponsored**')[0]+",\n"
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)