Kvikontent commited on
Commit
b210731
·
verified ·
1 Parent(s): 7527371

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def image_to_ascii(file):
36
  description = "Image to ASCII Art Converter\nUpload an image and convert it to ASCII art. Click the 'Submit' button after uploading."
37
  interface = gr.Interface(
38
  fn=image_to_ascii,
39
- inputs=gr.Image(type="num", label="Upload Image"),
40
  outputs=gr.Textbox(label="ASCII Art"),
41
  examples=["example1.jpg", "example2.jpg"],
42
  title="Image to ASCII Art",
 
36
  description = "Image to ASCII Art Converter\nUpload an image and convert it to ASCII art. Click the 'Submit' button after uploading."
37
  interface = gr.Interface(
38
  fn=image_to_ascii,
39
+ inputs=gr.Image(type="numpy", label="Upload Image"),
40
  outputs=gr.Textbox(label="ASCII Art"),
41
  examples=["example1.jpg", "example2.jpg"],
42
  title="Image to ASCII Art",