Spaces:
Running
Running
Sebastiankay
commited on
Commit
•
c10ed81
1
Parent(s):
581885a
Update app.py
Browse files
app.py
CHANGED
@@ -145,6 +145,11 @@ def image_get_dominant_color(image_path):
|
|
145 |
|
146 |
return dominant_color_rgb
|
147 |
|
|
|
|
|
|
|
|
|
|
|
148 |
def process(Prompt, used_model, image_width, image_height, image_ratio, image_seed, randomize_seed):
|
149 |
if Prompt == "":
|
150 |
gr.Info("Kein Prompt angegeben, es wird ein zufälliger Prompt generiert.", duration=12)
|
|
|
145 |
|
146 |
return dominant_color_rgb
|
147 |
|
148 |
+
|
149 |
+
# MARK: CLEAR COMPONENTS
|
150 |
+
def clear_components():
|
151 |
+
return None
|
152 |
+
|
153 |
def process(Prompt, used_model, image_width, image_height, image_ratio, image_seed, randomize_seed):
|
154 |
if Prompt == "":
|
155 |
gr.Info("Kein Prompt angegeben, es wird ein zufälliger Prompt generiert.", duration=12)
|