Franco Astegiano commited on
Commit
47d61ba
1 Parent(s): 2928528

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -193,9 +193,9 @@ def perform_style_transfer(content_image, style_image):
193
  #label = gr.outputs.Image(modify(content_image_input, style_image_input))
194
  app_interface = gr.Interface(perform_style_transfer,
195
  inputs=[content_image_input, style_image_input],
196
- outputs='image',
197
  title="Fast Neural Style Transfer",
198
  description="Gradio demo for Fast Neural Style Transfer using a pretrained Image Stylization model from TensorFlow Hub. To use it, simply upload a content image and style image, or click one of the examples to load them. To learn more about the project, please find the references listed below.",
199
  )
200
- app_interface.launch()
201
 
 
193
  #label = gr.outputs.Image(modify(content_image_input, style_image_input))
194
  app_interface = gr.Interface(perform_style_transfer,
195
  inputs=[content_image_input, style_image_input],
196
+ gr.outputs.Image(),
197
  title="Fast Neural Style Transfer",
198
  description="Gradio demo for Fast Neural Style Transfer using a pretrained Image Stylization model from TensorFlow Hub. To use it, simply upload a content image and style image, or click one of the examples to load them. To learn more about the project, please find the references listed below.",
199
  )
200
+ app_interface.launch(debug= True)
201