Spaces:
Runtime error
Runtime error
Commit
·
b95a9fa
1
Parent(s):
78157b6
debug
Browse files
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
|
88 |
-
xs
|
89 |
-
|
90 |
-
|
91 |
-
|
|
|
|
|
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)
|