lsquaremaster commited on
Commit
51ba501
1 Parent(s): e42b06e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -22,13 +22,20 @@ description = "Transform your photos into stunning works of art with our Neural
22
  # Define labels for the input images
23
  input_labels = ["Content/Base Image", "Style Image"]
24
 
 
 
 
 
 
 
25
 
26
  interface = gr.Interface(fn=style_transfer,
27
  inputs=["image", "image"],
28
  outputs=["image"],
29
  input_labels=input_labels,
30
  title=title,
31
- description=description
 
32
  )
33
 
34
  interface.launch()
 
22
  # Define labels for the input images
23
  input_labels = ["Content/Base Image", "Style Image"]
24
 
25
+ # Example images
26
+ examples = [
27
+ ["content_example_1.jpg", "style_example_1.jpg"],
28
+ ["content_example_2.jpg", "style_example_2.jpg"]
29
+ ]
30
+
31
 
32
  interface = gr.Interface(fn=style_transfer,
33
  inputs=["image", "image"],
34
  outputs=["image"],
35
  input_labels=input_labels,
36
  title=title,
37
+ description=description,
38
+ examples=examples
39
  )
40
 
41
  interface.launch()