Spaces:
Running
Running
Sebastiankay
commited on
Commit
•
d81de80
1
Parent(s):
5917c10
Sep 10, 2024, 7:24 PM
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ def image_get_dominant_color(image_path):
|
|
131 |
# MARK: PROCESS IMAGE
|
132 |
def process(Prompt, image_width, image_height, image_seed, randomize_seed):
|
133 |
if Prompt == "":
|
134 |
-
gr.Info("Kein Prompt angegeben, es wird ein zufälliger Prompt generiert.", duration=
|
135 |
Prompt = groq_enhance_process("random prompt")
|
136 |
|
137 |
used_seed = random.randint(0, MAX_SEED) if image_seed == 0 or randomize_seed else image_seed
|
|
|
131 |
# MARK: PROCESS IMAGE
|
132 |
def process(Prompt, image_width, image_height, image_seed, randomize_seed):
|
133 |
if Prompt == "":
|
134 |
+
gr.Info("Kein Prompt angegeben, es wird ein zufälliger Prompt generiert.", duration=8)
|
135 |
Prompt = groq_enhance_process("random prompt")
|
136 |
|
137 |
used_seed = random.randint(0, MAX_SEED) if image_seed == 0 or randomize_seed else image_seed
|