Aravind Sundaresan commited on
Commit
d59c154
1 Parent(s): 8aefbbd

Added examples

Browse files
app.py CHANGED
@@ -22,11 +22,13 @@ style_image_input = gr.inputs.Image(shape=(256, 256), label="Style Image")
22
 
23
  # Examples
24
  golden_gate = ["examples/golden_gate_bridge.jpeg", "examples/the_great_wave.jpeg"]
 
 
25
 
26
  app_interface = gr.Interface(fn=perform_style_transfer,
27
  inputs=[content_image_input, style_image_input],
28
  outputs="image",
29
  title="Fast Neural Style Transfer",
30
  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.",
31
- examples=[golden_gate])
32
  app_interface.launch()
 
22
 
23
  # Examples
24
  golden_gate = ["examples/golden_gate_bridge.jpeg", "examples/the_great_wave.jpeg"]
25
+ joshua_tree = ["examples/joshua_tree.jpeg", "examples/starry_night.jpeg"]
26
+ glacier = ["examples/glacier_national_park.jpeg", "examples/the_scream.jpeg"]
27
 
28
  app_interface = gr.Interface(fn=perform_style_transfer,
29
  inputs=[content_image_input, style_image_input],
30
  outputs="image",
31
  title="Fast Neural Style Transfer",
32
  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.",
33
+ examples=[golden_gate, joshua_tree, glacier])
34
  app_interface.launch()
examples/glacier_national_park.jpeg ADDED
examples/joshua_tree.jpeg ADDED
examples/starry_night.jpeg ADDED
examples/the_scream.jpg ADDED