Spaces:
Runtime error
Runtime error
Update page/generate.py
Browse files- page/generate.py +1 -1
page/generate.py
CHANGED
@@ -42,7 +42,7 @@ def app():
|
|
42 |
|
43 |
crazy = st.slider('Temperature. This controls how "crazy" generated images are, where 0 is the least crazy.', 0.0, 1.0, 0.75)
|
44 |
k = st.slider('Top K. The higher the value, the higher quality the results tend to be at the cost of extra processing time.', 1, 10, 5)
|
45 |
-
k = k*400
|
46 |
|
47 |
if( 'results' not in st.session_state ):
|
48 |
st.session_state.results = []
|
|
|
42 |
|
43 |
crazy = st.slider('Temperature. This controls how "crazy" generated images are, where 0 is the least crazy.', 0.0, 1.0, 0.75)
|
44 |
k = st.slider('Top K. The higher the value, the higher quality the results tend to be at the cost of extra processing time.', 1, 10, 5)
|
45 |
+
#k = k*400
|
46 |
|
47 |
if( 'results' not in st.session_state ):
|
48 |
st.session_state.results = []
|