KiKi commited on
Commit
5ed9dbe
·
1 Parent(s): 4a21f58

updated name of predict function

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. predictor.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def header_white_bg(text, fontsize = 40, bold = True):
26
  )
27
 
28
  def diagnose_health(file):
29
- prediction = predictor(file)
30
  return prediction
31
 
32
  def app():
 
26
  )
27
 
28
  def diagnose_health(file):
29
+ prediction = predict(file)
30
  return prediction
31
 
32
  def app():
predictor.py CHANGED
@@ -1,4 +1,4 @@
1
- def predictor(image_file):
2
  import torch
3
  import numpy as np
4
  import cv2
 
1
+ def predict(image_file):
2
  import torch
3
  import numpy as np
4
  import cv2