Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +2 -2
- style_images/Bokeh.jpg +0 -0
app.py
CHANGED
@@ -30,7 +30,7 @@ optimal_settings = {
|
|
30 |
'Oil Painting': (100, False),
|
31 |
'Scream': (75, True),
|
32 |
'Great Wave': (75, False),
|
33 |
-
'Watercolor': (
|
34 |
}
|
35 |
|
36 |
cached_style_features = {}
|
@@ -108,7 +108,7 @@ def set_slider(value):
|
|
108 |
return gr.update(value=value)
|
109 |
|
110 |
def update_settings(style):
|
111 |
-
return optimal_settings.get(style, (
|
112 |
|
113 |
css = """
|
114 |
#container {
|
|
|
30 |
'Oil Painting': (100, False),
|
31 |
'Scream': (75, True),
|
32 |
'Great Wave': (75, False),
|
33 |
+
'Watercolor': (75, False),
|
34 |
}
|
35 |
|
36 |
cached_style_features = {}
|
|
|
108 |
return gr.update(value=value)
|
109 |
|
110 |
def update_settings(style):
|
111 |
+
return optimal_settings.get(style, (100, False))
|
112 |
|
113 |
css = """
|
114 |
#container {
|
style_images/Bokeh.jpg
ADDED