Deniel Dimitrov commited on
Commit
565f72e
·
1 Parent(s): 2ebe0d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,10 +27,10 @@ def convert_to_ascii(image, text_size):
27
 
28
  return ascii_image
29
 
30
- def image_to_ascii(image, text_size):
31
  ascii_text = convert_to_ascii(image, text_size)
32
  return ascii_text
33
 
34
  iface = gr.Interface(fn=image_to_ascii, inputs=["image", "number"], outputs="text", title="Image to ASCII")
35
  iface.launch()
36
-
 
27
 
28
  return ascii_image
29
 
30
+ def image_to_ascii(image, text_size=100):
31
  ascii_text = convert_to_ascii(image, text_size)
32
  return ascii_text
33
 
34
  iface = gr.Interface(fn=image_to_ascii, inputs=["image", "number"], outputs="text", title="Image to ASCII")
35
  iface.launch()
36
+