Minh commited on
Commit
e27d8ac
·
1 Parent(s): 9930d3e

Change return to yield

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -160,7 +160,7 @@ def paint_img(img):
160
  output = cv2.resize(output, origin_shape)
161
  yield output
162
 
163
- return output
164
 
165
  examples = [
166
  ["image/chaoyue.png"],
 
160
  output = cv2.resize(output, origin_shape)
161
  yield output
162
 
163
+ yield output
164
 
165
  examples = [
166
  ["image/chaoyue.png"],