Kvikontent commited on
Commit
735eb41
·
verified ·
1 Parent(s): 4055c83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.inputs.Image(type="file", label="Upload Image"),
40
- outputs=gr.outputs.Textbox(label="ASCII Art"),
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,