Spaces:
Runtime error
Runtime error
Commit
·
5a8cc6b
1
Parent(s):
68b6995
tweaks
Browse files
app.py
CHANGED
@@ -101,14 +101,14 @@ text = st.text_area('Enter your text here (or leave blank for a textless image)'
|
|
101 |
|
102 |
st.header('Settings')
|
103 |
|
104 |
-
st.write("The bot uses 250 base steps and 250 upsampling steps, with custom spacing (not available here) for the base part.\nSince this demo doesn't have a GPU, you'll probably want to use fewer
|
105 |
|
106 |
help_ts1 = "How long to run the base model. Larger values make the image more realistic / better. Smaller values are faster."
|
107 |
help_ts2 = "How long to run the upsampling model. Larger values sometimes make the big image crisper and more detailed. Smaller values are faster."
|
108 |
help_gs1 = "Guidance scale. Larger values make the image more likely to contain the text you wrote. If this is zero, the first part will be faster."
|
109 |
|
110 |
-
ts1 = st.slider('Steps (base)', min_value=5, max_value=500, value=50, help=help_ts1)
|
111 |
-
ts2 = st.slider('Steps (upsampling)', min_value=5, max_value=500, value=50, help=help_ts2)
|
112 |
gs1 = st.select_slider('Guidance scale (base)', [0.5*i for i in range(9)], value=0., help=help_gs1)
|
113 |
|
114 |
button_go = st.button('Generate')
|
|
|
101 |
|
102 |
st.header('Settings')
|
103 |
|
104 |
+
st.write("The bot uses 250 base steps and 250 upsampling steps, with custom spacing (not available here) for the base part.\n\nSince this demo doesn't have a GPU, you'll probably want to use fewer than 250 steps unles you have a lot of patience.")
|
105 |
|
106 |
help_ts1 = "How long to run the base model. Larger values make the image more realistic / better. Smaller values are faster."
|
107 |
help_ts2 = "How long to run the upsampling model. Larger values sometimes make the big image crisper and more detailed. Smaller values are faster."
|
108 |
help_gs1 = "Guidance scale. Larger values make the image more likely to contain the text you wrote. If this is zero, the first part will be faster."
|
109 |
|
110 |
+
ts1 = st.slider('Steps (base)', min_value=5, max_value=500, value=50, step=5, help=help_ts1)
|
111 |
+
ts2 = st.slider('Steps (upsampling)', min_value=5, max_value=500, value=50, step=5, help=help_ts2)
|
112 |
gs1 = st.select_slider('Guidance scale (base)', [0.5*i for i in range(9)], value=0., help=help_gs1)
|
113 |
|
114 |
button_go = st.button('Generate')
|