Spaces:
Running
on
T4
Running
on
T4
da03
commited on
Commit
·
f87997e
1
Parent(s):
6a29418
app.py
CHANGED
@@ -19,7 +19,7 @@ def infer(latex):
|
|
19 |
for line in r.iter_lines():
|
20 |
response = line.decode('ascii').strip()
|
21 |
r = base64.decodebytes(response.encode('ascii'))
|
22 |
-
q = np.frombuffer(r, dtype=np.float32).reshape((64, 320))
|
23 |
i += 1
|
24 |
yield i, [q,]
|
25 |
|
|
|
19 |
for line in r.iter_lines():
|
20 |
response = line.decode('ascii').strip()
|
21 |
r = base64.decodebytes(response.encode('ascii'))
|
22 |
+
q = np.frombuffer(r, dtype=np.float32).reshape((64, 320, 3))
|
23 |
i += 1
|
24 |
yield i, [q,]
|
25 |
|