testingcap commited on
Commit
c968cf6
·
1 Parent(s): ca34da2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -79,6 +79,8 @@ def cause(img):
79
  # print("the cause of",res,"is the fungus Passalora fulva.")
80
  elif res == "mosaic-virus":
81
  cause = "the cause is that aphid activity in fields is high"
 
 
82
  else:
83
  text = "Undetected disease"
84
  cause = "unknown"
 
79
  # print("the cause of",res,"is the fungus Passalora fulva.")
80
  elif res == "mosaic-virus":
81
  cause = "the cause is that aphid activity in fields is high"
82
+ sug=listToString(suggestions)
83
+ return(cause,treat,sug)
84
  else:
85
  text = "Undetected disease"
86
  cause = "unknown"