tommy24 commited on
Commit
741f12b
·
1 Parent(s): 89b3647

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -371,7 +371,7 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
371
  else:
372
  pass
373
 
374
- image = cv.imread("https://tommy24-classifier.hf.space/file=/tmp/",filename)
375
  image = cv.resize(image, (224, 224))
376
  image_array = np.asarray(image)
377
  image_data = cv.resize(imageData, (224, 224))
 
371
  else:
372
  pass
373
 
374
+ image = cv.imread(filename)
375
  image = cv.resize(image, (224, 224))
376
  image_array = np.asarray(image)
377
  image_data = cv.resize(imageData, (224, 224))