Spaces:
Sleeping
Sleeping
Commit
•
79ded9c
1
Parent(s):
dfd026d
Update app.py
Browse files
app.py
CHANGED
@@ -11,5 +11,5 @@ save_image()
|
|
11 |
|
12 |
if st.button("Detect Object"):
|
13 |
model.predict(source = 'processed_image.jpg', save = True, conf = 0.7)
|
14 |
-
st.image('runs/detect/predict/processed_image.jpg')
|
15 |
shutil.rmtree('runs')
|
|
|
11 |
|
12 |
if st.button("Detect Object"):
|
13 |
model.predict(source = 'processed_image.jpg', save = True, conf = 0.7)
|
14 |
+
st.image('runs/detect/predict/processed_image.jpg', use_column_width = 'always')
|
15 |
shutil.rmtree('runs')
|