ruslanmv commited on
Commit
15c6362
·
verified ·
1 Parent(s): 7ae52ec

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +7 -3
main.py CHANGED
@@ -68,10 +68,14 @@ def sepia(input_img):
68
  return [my_image, "\n".join(aimg)]
69
 
70
  iface = gr.Interface(sepia,
71
- gr.inputs.Image(shape=(200, 200)),
 
72
  ["image", "text"],
73
- title = "ASCII Art",
74
- description = "Convert an image to ASCII art based on ascii character density. Copy and paste the text to a notepad to see it correctly")
 
 
 
75
 
76
 
77
  iface.launch(server_name="0.0.0.0", server_port=7860)
 
68
  return [my_image, "\n".join(aimg)]
69
 
70
  iface = gr.Interface(sepia,
71
+ #gr.inputs.Image(shape=(200, 200)),
72
+ inputs="image",
73
  ["image", "text"],
74
+ title="ASCII Art Generator",
75
+ description="Upload an image, and this app will turn it into ASCII art!",
76
+ live=True
77
+
78
+
79
 
80
 
81
  iface.launch(server_name="0.0.0.0", server_port=7860)