yuntian-deng commited on
Commit
e6e56d8
1 Parent(s): 250ce2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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: