Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
1f6f361
1
Parent(s):
8d22416
Update app.py
Browse files
app.py
CHANGED
@@ -42,15 +42,15 @@ style_list = [
|
|
42 |
"negative_prompt": "cartoonish, low resolution, blurry, simplistic, abstract, deformed, ugly",
|
43 |
},
|
44 |
{
|
45 |
-
"name": "
|
46 |
-
"prompt": "
|
47 |
-
"negative_prompt": "
|
48 |
},
|
49 |
]
|
50 |
|
51 |
styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
|
52 |
STYLE_NAMES = list(styles.keys())
|
53 |
-
DEFAULT_STYLE_NAME = "
|
54 |
|
55 |
def apply_style(style_name: str, positive: str, negative: str = "") -> Tuple[str, str]:
|
56 |
p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|
|
|
42 |
"negative_prompt": "cartoonish, low resolution, blurry, simplistic, abstract, deformed, ugly",
|
43 |
},
|
44 |
{
|
45 |
+
"name": "3D Model",
|
46 |
+
"prompt": "professional 3d model {prompt}. octane render, highly detailed, volumetric, dramatic lighting",
|
47 |
+
"negative_prompt": "ugly, deformed, noisy, low poly, blurry, painting",
|
48 |
},
|
49 |
]
|
50 |
|
51 |
styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
|
52 |
STYLE_NAMES = list(styles.keys())
|
53 |
+
DEFAULT_STYLE_NAME = "3840 x 2160"
|
54 |
|
55 |
def apply_style(style_name: str, positive: str, negative: str = "") -> Tuple[str, str]:
|
56 |
p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|