Spaces:
Runtime error
Runtime error
pandyandy commited on
Commit ·
eb91e56
1
Parent(s): 51196ef
App
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: green
|
| 6 |
sdk: streamlit
|
|
|
|
| 1 |
---
|
| 2 |
+
title: HotDog NotHotDog
|
| 3 |
+
emoji: 🌭
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: green
|
| 6 |
sdk: streamlit
|
app.py
CHANGED
|
@@ -4,6 +4,15 @@ from PIL import Image
|
|
| 4 |
|
| 5 |
pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
st.title("Hot Dog? Or Not?")
|
| 8 |
|
| 9 |
file_name = st.file_uploader("Upload a hot dog candidate image")
|
|
|
|
| 4 |
|
| 5 |
pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
|
| 6 |
|
| 7 |
+
logo_html = """
|
| 8 |
+
<div style="display: flex; justify-content: flex-end;">
|
| 9 |
+
<img src="https://assets-global.website-files.com/5e21dc6f4c5acf29c35bb32c/5e21e66410e34945f7f25add_Keboola_logo.svg" width="200">
|
| 10 |
+
</div>
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
# Display the logo
|
| 14 |
+
st.markdown(logo_html, unsafe_allow_html=True)
|
| 15 |
+
|
| 16 |
st.title("Hot Dog? Or Not?")
|
| 17 |
|
| 18 |
file_name = st.file_uploader("Upload a hot dog candidate image")
|