Deniel Dimitrov commited on
Commit
fb3b04f
·
1 Parent(s): f526d35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def convert_to_ascii(image, text_size):
40
  iface = gr.Interface(
41
  fn=convert_to_ascii, # Function to run
42
  inputs=["image","number"], # Input component (in this case, an image)
43
- outputs="text", # Output component (in this case, text)
44
  title="image-to-ascii (by peasoup)",
45
  show_copy_button=True,
46
  )
 
40
  iface = gr.Interface(
41
  fn=convert_to_ascii, # Function to run
42
  inputs=["image","number"], # Input component (in this case, an image)
43
+ outputs=gr.Textbox(show_copy_button=True), # Output component (in this case, text)
44
  title="image-to-ascii (by peasoup)",
45
  show_copy_button=True,
46
  )