Spaces:
Running
Running
Diego Carpintero
commited on
Commit
·
07f569f
1
Parent(s):
d37f373
reset team after predict
Browse files
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:
|