Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
a1ba266
1
Parent(s):
c364dc6
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ style_list = [
|
|
42 |
"prompt": "Duotone style Mustard applied to {prompt}",
|
43 |
},
|
44 |
{
|
45 |
-
"name": "
|
46 |
"prompt": "cinematic collage of {prompt}. film stills, movie posters, dramatic lighting",
|
47 |
},
|
48 |
{
|
@@ -50,7 +50,7 @@ style_list = [
|
|
50 |
"prompt": "Duotone style Coral applied to {prompt}",
|
51 |
},
|
52 |
{
|
53 |
-
"name": "
|
54 |
"prompt": "scrapbook style collage of {prompt}. mixed media, hand-cut elements, textures, paper, stickers, doodles",
|
55 |
},
|
56 |
{
|
@@ -66,7 +66,7 @@ style_list = [
|
|
66 |
"prompt": "Duotone style Pastel applied to {prompt}",
|
67 |
},
|
68 |
{
|
69 |
-
"name": "
|
70 |
"prompt": "{prompt}",
|
71 |
},
|
72 |
]
|
@@ -79,7 +79,7 @@ css="""
|
|
79 |
"""
|
80 |
|
81 |
styles = {k["name"]: k["prompt"] for k in style_list}
|
82 |
-
DEFAULT_STYLE_NAME = "
|
83 |
STYLE_NAMES = list(styles.keys())
|
84 |
|
85 |
def apply_style(style_name: str, positive: str) -> str:
|
|
|
42 |
"prompt": "Duotone style Mustard applied to {prompt}",
|
43 |
},
|
44 |
{
|
45 |
+
"name": "Cinema",
|
46 |
"prompt": "cinematic collage of {prompt}. film stills, movie posters, dramatic lighting",
|
47 |
},
|
48 |
{
|
|
|
50 |
"prompt": "Duotone style Coral applied to {prompt}",
|
51 |
},
|
52 |
{
|
53 |
+
"name": "Scrap",
|
54 |
"prompt": "scrapbook style collage of {prompt}. mixed media, hand-cut elements, textures, paper, stickers, doodles",
|
55 |
},
|
56 |
{
|
|
|
66 |
"prompt": "Duotone style Pastel applied to {prompt}",
|
67 |
},
|
68 |
{
|
69 |
+
"name": "None",
|
70 |
"prompt": "{prompt}",
|
71 |
},
|
72 |
]
|
|
|
79 |
"""
|
80 |
|
81 |
styles = {k["name"]: k["prompt"] for k in style_list}
|
82 |
+
DEFAULT_STYLE_NAME = "None"
|
83 |
STYLE_NAMES = list(styles.keys())
|
84 |
|
85 |
def apply_style(style_name: str, positive: str) -> str:
|