Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
d3d7aa5
1
Parent(s):
13d2c5c
Update app.py
Browse files
app.py
CHANGED
@@ -14,9 +14,6 @@ from diffusers import DiffusionPipeline
|
|
14 |
from typing import Tuple
|
15 |
|
16 |
#Check for the Model Base..//
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
bad_words = json.loads(os.getenv('BAD_WORDS', "[]"))
|
21 |
bad_words_negative = json.loads(os.getenv('BAD_WORDS_NEGATIVE', "[]"))
|
22 |
default_negative = os.getenv("default_negative","")
|
@@ -29,7 +26,7 @@ def check_text(prompt, negative=""):
|
|
29 |
if i in negative:
|
30 |
return True
|
31 |
return False
|
32 |
-
|
33 |
|
34 |
|
35 |
style_list = [
|
@@ -84,7 +81,7 @@ def apply_style(style_name: str, positive: str, negative: str = "") -> Tuple[str
|
|
84 |
|
85 |
|
86 |
DESCRIPTION = """## STABLE HAMSTER
|
87 |
-
Drop your best results in the community: [rb.gy/
|
88 |
"""
|
89 |
|
90 |
|
|
|
14 |
from typing import Tuple
|
15 |
|
16 |
#Check for the Model Base..//
|
|
|
|
|
|
|
17 |
bad_words = json.loads(os.getenv('BAD_WORDS', "[]"))
|
18 |
bad_words_negative = json.loads(os.getenv('BAD_WORDS_NEGATIVE', "[]"))
|
19 |
default_negative = os.getenv("default_negative","")
|
|
|
26 |
if i in negative:
|
27 |
return True
|
28 |
return False
|
29 |
+
#End of the - Prompt Con
|
30 |
|
31 |
|
32 |
style_list = [
|
|
|
81 |
|
82 |
|
83 |
DESCRIPTION = """## STABLE HAMSTER
|
84 |
+
Drop your best results in the community with prompt: [rb.gy/iihbpf](http://rb.gy/iihbpf)
|
85 |
"""
|
86 |
|
87 |
|