jamino30 commited on
Commit
d8b281a
1 Parent(s): 2eca929

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -25,7 +25,7 @@ style_files = os.listdir('./style_images')
25
  style_options = {' '.join(style_file.split('.')[0].split('_')): f'./style_images/{style_file}' for style_file in style_files}
26
  optimal_settings = {
27
  'Starry Night': (100, True),
28
- 'Lego Bricks': (50, False),
29
  'Mosaic': (100, False),
30
  'Oil Painting': (100, False),
31
  'Scream': (75, True),
@@ -148,9 +148,10 @@ with gr.Blocks(css=css) as demo:
148
 
149
  examples = gr.Examples(
150
  examples=[
151
- ['./content_images/TajMahal.jpg', 'Starry Night', 75, True],
152
- ['./content_images/GoldenRetriever.jpg', 'Lego Bricks', 50, True],
153
- ['./content_images/SeaTurtle.jpg', 'Mosaic', 100, True]
 
154
  ],
155
  inputs=[content_and_output, style_dropdown, style_strength_slider, output_quality]
156
  )
 
25
  style_options = {' '.join(style_file.split('.')[0].split('_')): f'./style_images/{style_file}' for style_file in style_files}
26
  optimal_settings = {
27
  'Starry Night': (100, True),
28
+ 'Lego Bricks': (100, False),
29
  'Mosaic': (100, False),
30
  'Oil Painting': (100, False),
31
  'Scream': (75, True),
 
148
 
149
  examples = gr.Examples(
150
  examples=[
151
+ ['./content_images/TajMahal.jpg', 'Starry Night', *optimal_settings['Starry Night']],
152
+ ['./content_images/GoldenRetriever.jpg', 'Lego Bricks', *optimal_settings['Lego Bricks']],
153
+ ['./content_images/SeaTurtle.jpg', 'Oil Painting', *optimal_settings['Oil Painting']],
154
+ ['./content_images/NYCSkyline.jpg', 'Scream', *optimal_settings['Scream']]
155
  ],
156
  inputs=[content_and_output, style_dropdown, style_strength_slider, output_quality]
157
  )