Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -147,10 +147,18 @@ interface = gr.Interface(
|
|
147 |
api_name='style',
|
148 |
allow_flagging='auto',
|
149 |
examples=[
|
|
|
150 |
['./content_images/TajMahal.jpg', 'Starry Night'],
|
151 |
['./content_images/GoldenRetriever.jpg', 'Lego Bricks'],
|
152 |
['./content_images/Beach.jpg', 'Oil Painting'],
|
153 |
['./content_images/StandingOnCliff.png', 'Great Wave'],
|
|
|
|
|
|
|
|
|
|
|
154 |
],
|
155 |
-
|
|
|
|
|
156 |
).launch(inbrowser=True)
|
|
|
147 |
api_name='style',
|
148 |
allow_flagging='auto',
|
149 |
examples=[
|
150 |
+
# page 1
|
151 |
['./content_images/TajMahal.jpg', 'Starry Night'],
|
152 |
['./content_images/GoldenRetriever.jpg', 'Lego Bricks'],
|
153 |
['./content_images/Beach.jpg', 'Oil Painting'],
|
154 |
['./content_images/StandingOnCliff.png', 'Great Wave'],
|
155 |
+
# page 2
|
156 |
+
['./content_images/Surfer.jpg', 'Starry Night'],
|
157 |
+
['./content_images/CameraGirl.jpg', 'Lego Bricks'],
|
158 |
+
['./content_images/NYCSkyline.jpg', 'Oil Painting'],
|
159 |
+
['./content_images/GoldenRetriever.jpg', 'Great Wave'],
|
160 |
],
|
161 |
+
examples_per_page=len(style_options),
|
162 |
+
cache_examples='lazy',
|
163 |
+
clear_btn=None
|
164 |
).launch(inbrowser=True)
|