Spaces:
Runtime error
Runtime error
Update page/generate.py
Browse files- page/generate.py +3 -3
page/generate.py
CHANGED
|
@@ -83,8 +83,8 @@ def app():
|
|
| 83 |
|
| 84 |
if(f and len(st.session_state.results) > 0):
|
| 85 |
f = False
|
| 86 |
-
randomButton = holder2.button("
|
| 87 |
-
nextButton = holder.button("
|
| 88 |
|
| 89 |
with second.container():
|
| 90 |
drawGrid()
|
|
@@ -100,7 +100,7 @@ def app():
|
|
| 100 |
if(randomButton):
|
| 101 |
randomButton = False
|
| 102 |
_1 = ["A modern ","A post-modern ","An ultramodern ", "A classical ", "A parametric ", "A contemporary ", "A minimalist "]
|
| 103 |
-
_2 = ["museum architecture","home architecture","landscape architecture","interior design"
|
| 104 |
_3 = [""," in the style of I.M. Pei"," in the style of Frank Gehry"," in the style of John Lautner"," in the style of Frank Lloyd Wright"]
|
| 105 |
_4 = [" photograph",", watercolor painting",", oil painting", ", digital art"]
|
| 106 |
|
|
|
|
| 83 |
|
| 84 |
if(f and len(st.session_state.results) > 0):
|
| 85 |
f = False
|
| 86 |
+
randomButton = holder2.button("Randomize Prompt")
|
| 87 |
+
nextButton = holder.button("Finish Generating Images")
|
| 88 |
|
| 89 |
with second.container():
|
| 90 |
drawGrid()
|
|
|
|
| 100 |
if(randomButton):
|
| 101 |
randomButton = False
|
| 102 |
_1 = ["A modern ","A post-modern ","An ultramodern ", "A classical ", "A parametric ", "A contemporary ", "A minimalist "]
|
| 103 |
+
_2 = ["museum architecture","home architecture","landscape architecture","interior design"]
|
| 104 |
_3 = [""," in the style of I.M. Pei"," in the style of Frank Gehry"," in the style of John Lautner"," in the style of Frank Lloyd Wright"]
|
| 105 |
_4 = [" photograph",", watercolor painting",", oil painting", ", digital art"]
|
| 106 |
|