Spaces:
Sleeping
Sleeping
Commit
·
73fb5e5
1
Parent(s):
31869bf
done
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def get_ingredients_qwen(food_name):
|
|
| 62 |
openai.api_key = st.secrets["openai"] # Ensure you have this in your secrets
|
| 63 |
|
| 64 |
# Main content
|
| 65 |
-
st.markdown('<div class="title"><h1>
|
| 66 |
|
| 67 |
# Add banner image with existence check
|
| 68 |
banner_image_path = "IR_IMAGE.png"
|
|
@@ -81,12 +81,6 @@ with st.sidebar:
|
|
| 81 |
st.markdown("---")
|
| 82 |
st.markdown("<p style='text-align: center;'>Developed by Muhammad Hassan Butt.</p>", unsafe_allow_html=True)
|
| 83 |
|
| 84 |
-
# Create columns for sample image buttons
|
| 85 |
-
cols = st.columns(len(sample_images))
|
| 86 |
-
for idx, (name, file_path) in enumerate(sample_images.items()):
|
| 87 |
-
with cols[idx]:
|
| 88 |
-
if st.button(f"{name}", key=name):
|
| 89 |
-
uploaded_file = file_path
|
| 90 |
|
| 91 |
# File uploader
|
| 92 |
st.subheader("Upload a food image:")
|
|
|
|
| 62 |
openai.api_key = st.secrets["openai"] # Ensure you have this in your secrets
|
| 63 |
|
| 64 |
# Main content
|
| 65 |
+
st.markdown('<div class="title"><h1>PlateMate - Your Culinary Assistant</h1></div>', unsafe_allow_html=True)
|
| 66 |
|
| 67 |
# Add banner image with existence check
|
| 68 |
banner_image_path = "IR_IMAGE.png"
|
|
|
|
| 81 |
st.markdown("---")
|
| 82 |
st.markdown("<p style='text-align: center;'>Developed by Muhammad Hassan Butt.</p>", unsafe_allow_html=True)
|
| 83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
# File uploader
|
| 86 |
st.subheader("Upload a food image:")
|