xyplon commited on
Commit
a84f943
·
verified ·
1 Parent(s): d0048cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def Hf():
44
  'model' : model,
45
  'style': style
46
  })
47
- if(req.status!=200):
48
  return "an error occurred! ", 500
49
  for chunk in req.iter_lines():
50
  yield f'{chunk.decode()}\n'
 
44
  'model' : model,
45
  'style': style
46
  })
47
+ if(req.status_code!=200):
48
  return "an error occurred! ", 500
49
  for chunk in req.iter_lines():
50
  yield f'{chunk.decode()}\n'