Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def draw_polygons(polygons, colors, im_size=(512, 512), b_color="white", fpath=N
|
|
85 |
|
86 |
return draw, image
|
87 |
|
88 |
-
def prompt_to_layout(user_prompt,
|
89 |
|
90 |
if(containsNumber(user_prompt) == True):
|
91 |
spaced_prompt = user_prompt.split(' ')
|
|
|
85 |
|
86 |
return draw, image
|
87 |
|
88 |
+
def prompt_to_layout(user_prompt, intensity, fpath=None):
|
89 |
|
90 |
if(containsNumber(user_prompt) == True):
|
91 |
spaced_prompt = user_prompt.split(' ')
|