Spaces:
Running
Running
Update main.py
Browse files
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
|
74 |
-
description
|
|
|
|
|
|
|
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)
|