Commit
·
4a8c702
1
Parent(s):
4963a25
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,6 @@ learn = load_learner('model.pkl')
|
|
| 7 |
|
| 8 |
def predict(input):
|
| 9 |
image = PILImage.create(input).resize((182, 268))
|
| 10 |
-
# Use your model to make predictions on the input data
|
| 11 |
results = learn.predict(image)[0]
|
| 12 |
results = ', '.join(results)
|
| 13 |
return results
|
|
|
|
| 7 |
|
| 8 |
def predict(input):
|
| 9 |
image = PILImage.create(input).resize((182, 268))
|
|
|
|
| 10 |
results = learn.predict(image)[0]
|
| 11 |
results = ', '.join(results)
|
| 12 |
return results
|