kfahn commited on
Commit
618f3ec
1 Parent(s): 59b5493

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -19
app.py CHANGED
@@ -113,24 +113,14 @@ title="Image to Coloring Page Generator"
113
  # ['01.jpeg', 'Complex Lines'],
114
  #]
115
 
116
- image = gr.Image(
117
- source="upload",
118
- tool="color-image",
119
- interactive="true",
120
- brush_radius=1,
121
- min_width=600,
122
- show_download_button="true",
123
- brush_color="#fffff"
124
- )
125
-
126
- iface = gr.Interface(predict,
127
- image,
128
- #gr.outputs.Image(type="pil"))
129
- image)
130
-
131
-
132
- # iface = gr.Interface(predict, [gr.inputs.Image(type='filepath')],
133
- # #gr.inputs.Radio(['Complex Lines'], type="value", default='Complex Lines', label='version')],
134
- # gr.outputs.Image(type="pil"))
135
 
136
  iface.launch()
 
113
  # ['01.jpeg', 'Complex Lines'],
114
  #]
115
 
116
+ # iface = gr.Interface(predict,
117
+ # image,
118
+ # #gr.outputs.Image(type="pil"))
119
+ # image)
120
+
121
+
122
+ iface = gr.Interface(predict, [gr.inputs.Image(type='filepath')],
123
+ #gr.inputs.Radio(['Complex Lines'], type="value", default='Complex Lines', label='version')],
124
+ gr.outputs.Image(type="pil"))
 
 
 
 
 
 
 
 
 
 
125
 
126
  iface.launch()