Deniel Dimitrov commited on
Commit
fa950fa
·
1 Parent(s): 0f206cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def convert_to_ascii(image, text_size):
26
 
27
 
28
  def image_to_ascii(file, text_size):
29
- image = Image.open(file[0].name) # Modify this line to handle the file object correctly
30
  return convert_to_ascii(image, int(text_size))
31
 
32
 
 
26
 
27
 
28
  def image_to_ascii(file, text_size):
29
+ image = Image.open(file) # Modify this line to handle the file object correctly
30
  return convert_to_ascii(image, int(text_size))
31
 
32