ysharma HF staff commited on
Commit
1278abd
·
1 Parent(s): 6156168
Files changed (1) hide show
  1. model.py +4 -1
model.py CHANGED
@@ -632,7 +632,10 @@ class Model:
632
 
633
  results = [x_samples[i] for i in range(num_samples)]
634
 
635
- filename = results['name']
 
 
 
636
  #def encode(img_array):
637
  print(f"type of input_image ^^ - {type(input_image)}")
638
  # Convert NumPy array to image
 
632
 
633
  results = [x_samples[i] for i in range(num_samples)]
634
 
635
+ print(f"type of results ^^ - {type(results)}")
636
+ print(f"value of results ^^ - {results}")
637
+ #print(f"value of results[0] ^^ - {results[0]}")
638
+ filename = results[0] #['name']
639
  #def encode(img_array):
640
  print(f"type of input_image ^^ - {type(input_image)}")
641
  # Convert NumPy array to image