satpalsr commited on
Commit
c3067f5
1 Parent(s): 24b4d08

Examples added

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -34,9 +34,12 @@ def infer(style, content):
34
 
35
  recons_image = decoder(t)
36
  return recons_image[0].numpy()
 
 
 
37
 
38
  iface = gr.Interface(
39
  fn=infer,
40
  inputs=[gr.inputs.Image(label="style"),
41
  gr.inputs.Image(label="content")],
42
- outputs="image").launch()
 
34
 
35
  recons_image = decoder(t)
36
  return recons_image[0].numpy()
37
+
38
+ dog_example = ['Wassily_Composition.jpg','dog.jpg']
39
+ bridge_example = ['wave_composition.jpg', 'bridge.jpg']
40
 
41
  iface = gr.Interface(
42
  fn=infer,
43
  inputs=[gr.inputs.Image(label="style"),
44
  gr.inputs.Image(label="content")],
45
+ outputs="image", examples = [dog_example, bridge_example]).launch()