ysharma HF staff commited on
Commit
f1f4a2c
·
1 Parent(s): 8883856
Files changed (1) hide show
  1. gradio_seg2image.py +1 -1
gradio_seg2image.py CHANGED
@@ -9,7 +9,7 @@ def dummyfun(result_gallery):
9
  print(f"first elem of gallery is ^^ - {result_gallery[0]}")
10
  print(f"first elem of gallery is ^^ - {result_gallery[1]}")
11
  # Load the image
12
- image = result_gallery[1] £Image.open("example.jpg")
13
 
14
  # Get the filename
15
  filename = image.filename
 
9
  print(f"first elem of gallery is ^^ - {result_gallery[0]}")
10
  print(f"first elem of gallery is ^^ - {result_gallery[1]}")
11
  # Load the image
12
+ image = result_gallery[1] #Image.open("example.jpg")
13
 
14
  # Get the filename
15
  filename = image.filename