Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ def prompt_to_layout(user_prompt, intensity, fpath=None):
|
|
| 116 |
geom.append(scaled_poly)
|
| 117 |
#geom.append(Polygon(np.array(poly, dtype=int)))
|
| 118 |
|
| 119 |
-
colors = [
|
| 120 |
|
| 121 |
_, im = draw_polygons(geom, colors, fpath=fpath)
|
| 122 |
|
|
|
|
| 116 |
geom.append(scaled_poly)
|
| 117 |
#geom.append(Polygon(np.array(poly, dtype=int)))
|
| 118 |
|
| 119 |
+
colors = [architext_colors[housegan_labels[space]] for space in spaces]
|
| 120 |
|
| 121 |
_, im = draw_polygons(geom, colors, fpath=fpath)
|
| 122 |
|