Spaces:
Runtime error
Runtime error
Hector Lopez
commited on
Commit
·
db41ce0
1
Parent(s):
7a3e7a3
Fix
Browse files- app.py +0 -1
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -33,7 +33,6 @@ if image_file is not None:
|
|
| 33 |
print(image_file)
|
| 34 |
print('Getting predictions')
|
| 35 |
data = image_file.read()
|
| 36 |
-
print(data)
|
| 37 |
pred_dict = predict(model, data)
|
| 38 |
print('Fixing the preds')
|
| 39 |
boxes, image = prepare_prediction(pred_dict)
|
|
|
|
| 33 |
print(image_file)
|
| 34 |
print('Getting predictions')
|
| 35 |
data = image_file.read()
|
|
|
|
| 36 |
pred_dict = predict(model, data)
|
| 37 |
print('Fixing the preds')
|
| 38 |
boxes, image = prepare_prediction(pred_dict)
|
requirements.txt
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
icevision[full]
|
| 2 |
matplotlib
|
| 3 |
effdet
|
| 4 |
-
streamlit
|
|
|
|
|
|
| 1 |
icevision[full]
|
| 2 |
matplotlib
|
| 3 |
effdet
|
| 4 |
+
streamlit==1.2.0
|
| 5 |
+
Pillow==8.4.0
|