yizhangliu commited on
Commit
d7b562d
·
1 Parent(s): 5eb2692

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -277,9 +277,10 @@ interface.launch(share=True)
277
 
278
  # gr.Interface(fn=predict, inputs="image", outputs="image").launch(share=True)
279
 
 
280
  demo = gr.Interface(fn=predict,
281
- inputs=gr.inputs.Image(source='upload', tool='sketch', elem_id="image_upload", type="pil", label="Upload"),
282
- outputs="image",
283
  # examples=[["cheetah.jpg"]],
284
  )
285
 
 
277
 
278
  # gr.Interface(fn=predict, inputs="image", outputs="image").launch(share=True)
279
 
280
+ image = gr.inputs.Image(source='upload', tool='sketch', type="pil", label="Upload")# .style(height=400)
281
  demo = gr.Interface(fn=predict,
282
+ inputs=image,
283
+ outputs=image,
284
  # examples=[["cheetah.jpg"]],
285
  )
286