Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -1
src/streamlit_app.py
CHANGED
|
@@ -6,7 +6,9 @@ pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotd
|
|
| 6 |
|
| 7 |
st.title("Hot Dog? Or Not?")
|
| 8 |
|
| 9 |
-
file_name = st.file_uploader(
|
|
|
|
|
|
|
| 10 |
|
| 11 |
if file_name is not None:
|
| 12 |
col1, col2 = st.columns(2)
|
|
|
|
| 6 |
|
| 7 |
st.title("Hot Dog? Or Not?")
|
| 8 |
|
| 9 |
+
file_name = st.file_uploader(
|
| 10 |
+
label="Upload a hot dog candidate image",
|
| 11 |
+
type=["jpg", "jpeg", "png", "webp"])
|
| 12 |
|
| 13 |
if file_name is not None:
|
| 14 |
col1, col2 = st.columns(2)
|