Spaces:
Runtime error
Runtime error
Commit
·
b43ef12
1
Parent(s):
b95a9fa
fix
Browse files
app.py
CHANGED
@@ -85,12 +85,12 @@ if st.button('rweerew'):
|
|
85 |
|
86 |
for s, xs in handler(text, 20, 20, 0):
|
87 |
print((type(s), s.shape))
|
88 |
-
print((type(xs),
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
|
95 |
# x = st.slider('Select a value')
|
96 |
# st.write(x, 'squared is', x * x)
|
|
|
85 |
|
86 |
for s, xs in handler(text, 20, 20, 0):
|
87 |
print((type(s), s.shape))
|
88 |
+
print((type(xs), s.shape))
|
89 |
+
s = Image.fromarray(s[0])
|
90 |
+
xs = Image.fromarray(xs[0])
|
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)
|