Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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="
|
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",
|