Diego Carpintero commited on
Commit
07f569f
1 Parent(s): d37f373

reset team after predict

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -46,6 +46,7 @@ async def predict(img):
46
  else:
47
  prediction = "No analysis available. Try again later."
48
 
 
49
  yield [prediction, to_html(messages)]
50
 
51
  except Exception as e:
 
46
  else:
47
  prediction = "No analysis available. Try again later."
48
 
49
+ await model.reset()
50
  yield [prediction, to_html(messages)]
51
 
52
  except Exception as e: