nostalgebraist commited on
Commit
e5509f2
·
1 Parent(s): ba1e299
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -85,8 +85,8 @@ help_ts2 = "bar " * 40
85
  help_gs1 = "aaff"
86
 
87
  ts1 = st.slider('Steps (base)', min_value=5, max_value=500, value=10, help=help_ts1)
88
- ts2 = st.slider('Steps (upsampling)', min_value=5, max_value=500, value=10, help=help_ts1)
89
- gs1 = st.slider('Guidance scale (base)', min_value=0., max_value=4., value=0., help=help_gs1)
90
  # ts1, ts2, gs1 = 20, 20, 0
91
 
92
  if st.button('rweerew'):
@@ -94,6 +94,7 @@ if st.button('rweerew'):
94
  high_res = st.empty()
95
 
96
  count_low_res, count_high_res = 0, 0
 
97
 
98
  for s, xs in handler(text, ts1, ts2, gs1):
99
  s = Image.fromarray(s[0])
 
85
  help_gs1 = "aaff"
86
 
87
  ts1 = st.slider('Steps (base)', min_value=5, max_value=500, value=10, help=help_ts1)
88
+ ts2 = st.slider('Steps (upsampling)', min_value=5, max_value=500, value=10, help=help_ts2)
89
+ gs1 = st.select_slider('Guidance scale (base)', [0.5*i for i in range(9)], value=0., help=help_gs1)
90
  # ts1, ts2, gs1 = 20, 20, 0
91
 
92
  if st.button('rweerew'):
 
94
  high_res = st.empty()
95
 
96
  count_low_res, count_high_res = 0, 0
97
+ times_low-
98
 
99
  for s, xs in handler(text, ts1, ts2, gs1):
100
  s = Image.fromarray(s[0])