Spaces:
Running
on
T4
Running
on
T4
yuntian-deng
commited on
Commit
•
e6e56d8
1
Parent(s):
250ce2d
Update app.py
Browse files
app.py
CHANGED
@@ -93,6 +93,7 @@ with gr.Blocks() as demo:
|
|
93 |
#s = base64.b64encode(image_clean).decode('ascii')
|
94 |
#yield s
|
95 |
q = image_clean
|
|
|
96 |
yield i, q, submit_btn.update(visible=False)
|
97 |
yield i, q, submit_btn.update(visible=True)
|
98 |
#with requests.post(url=API_ENDPOINT, data=data, timeout=600, stream=True) as r:
|
|
|
93 |
#s = base64.b64encode(image_clean).decode('ascii')
|
94 |
#yield s
|
95 |
q = image_clean
|
96 |
+
q = q.reshape((64, 320, 3))
|
97 |
yield i, q, submit_btn.update(visible=False)
|
98 |
yield i, q, submit_btn.update(visible=True)
|
99 |
#with requests.post(url=API_ENDPOINT, data=data, timeout=600, stream=True) as r:
|