nostalgebraist commited on
Commit
b95a9fa
·
1 Parent(s): 78157b6
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -84,11 +84,13 @@ if st.button('rweerew'):
84
  high_res = st.empty()
85
 
86
  for s, xs in handler(text, 20, 20, 0):
87
- s = Image.fromarray(s)
88
- xs = Image.fromarray(xs)
89
- target = low_res if s.size[0] < 256 else high_res
90
- with target.container():
91
- st.write([s, xs])
 
 
92
 
93
  # x = st.slider('Select a value')
94
  # st.write(x, 'squared is', x * x)
 
84
  high_res = st.empty()
85
 
86
  for s, xs in handler(text, 20, 20, 0):
87
+ print((type(s), s.shape))
88
+ print((type(xs), xs.shape))
89
+ # s = Image.fromarray(s)
90
+ # xs = Image.fromarray(xs)
91
+ # target = low_res if s.size[0] < 256 else high_res
92
+ # with target.container():
93
+ # st.write([s, xs])
94
 
95
  # x = st.slider('Select a value')
96
  # st.write(x, 'squared is', x * x)