Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,9 +23,13 @@ content_image_input = gr.inputs.Image(label="Content Image")
|
|
| 23 |
style_image_input = gr.inputs.Image(shape=(256, 256), label="Style Image")
|
| 24 |
|
| 25 |
# Add image examples for users
|
| 26 |
-
golden_gate = ["
|
| 27 |
-
joshua_tree = ["
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
# Customize interface
|
| 31 |
title = "Fast Neural Style Transfer using TF-Hub"
|
|
@@ -42,7 +46,7 @@ app_interface = gr.Interface(fn=do_style_transfer,
|
|
| 42 |
outputs="image",
|
| 43 |
title=title,
|
| 44 |
description=description,
|
| 45 |
-
examples=[
|
| 46 |
article=article
|
| 47 |
)
|
| 48 |
app_interface.launch()
|
|
|
|
| 23 |
style_image_input = gr.inputs.Image(shape=(256, 256), label="Style Image")
|
| 24 |
|
| 25 |
# Add image examples for users
|
| 26 |
+
golden_gate = ["example_deadpool2.jpeg", "style_the_great_wave.jpeg"]
|
| 27 |
+
joshua_tree = ["example_deadpool.png", "style_starry_night.jpeg"]
|
| 28 |
+
avatar = ["example_avatar.jpeg", "style_the_scream.jpg"]
|
| 29 |
+
joker = ["example_joker.jpeg", "style_polasticot1.jpeg"]
|
| 30 |
+
einstein = ["example_einstein.jpeg", "style_polasticot2.jpeg"]
|
| 31 |
+
monalisa = ["example_mona1.jpeg", "style_polasticot3.jpeg"]
|
| 32 |
+
paris = ["example_paris.jpeg", "style_vangogh.jpeg"]
|
| 33 |
|
| 34 |
# Customize interface
|
| 35 |
title = "Fast Neural Style Transfer using TF-Hub"
|
|
|
|
| 46 |
outputs="image",
|
| 47 |
title=title,
|
| 48 |
description=description,
|
| 49 |
+
examples=[golden_gate,joshua_tree,avatar,joker,einstein,monalisa,paris],
|
| 50 |
article=article
|
| 51 |
)
|
| 52 |
app_interface.launch()
|