Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,8 +36,8 @@ 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.
|
| 40 |
-
outputs=gr.
|
| 41 |
examples=["example1.jpg", "example2.jpg"],
|
| 42 |
title="Image to ASCII Art",
|
| 43 |
description=description,
|
|
|
|
| 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="file", label="Upload Image"),
|
| 40 |
+
outputs=gr.Textbox(label="ASCII Art"),
|
| 41 |
examples=["example1.jpg", "example2.jpg"],
|
| 42 |
title="Image to ASCII Art",
|
| 43 |
description=description,
|