Harsimran19 commited on
Commit
d726caf
·
1 Parent(s): 5cc0148

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ example_list=['1.jpg','2.jpg']
16
  # Predict Function
17
  def predict(img):
18
  # Apply Transformations
19
- img=np.array(img)
20
  img=transform_gen(img)
21
  img=img['image'].unsqueeze(0)
22
  # Predic
 
16
  # Predict Function
17
  def predict(img):
18
  # Apply Transformations
19
+ # img=np.array(img)
20
  img=transform_gen(img)
21
  img=img['image'].unsqueeze(0)
22
  # Predic