nostalgebraist commited on
Commit
78157b6
·
1 Parent(s): 910bf72
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -84,6 +84,8 @@ if st.button('rweerew'):
84
  high_res = st.empty()
85
 
86
  for s, xs in handler(text, 20, 20, 0):
 
 
87
  target = low_res if s.size[0] < 256 else high_res
88
  with target.container():
89
  st.write([s, xs])
 
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])