Spaces:
Sleeping
Sleeping
Commit ·
73fb5e5
1
Parent(s): 31869bf
done
Browse files61 unmodified lines6263646566676812 unmodified lines81828384858687888990919261 unmodified linesopenai.api_key = st.secrets["openai"] # Ensure you have this in your secrets# Main contentst.markdown('<div class="title"><h1>DelishAI - Your Culinary Assistant</h1></div>', unsafe_allow_html=True)# Add banner image with existence checkbanner_image_path = "IR_IMAGE.png"12 unmodified linesst.markdown("---")st.markdown("<p style='text-align: center;'>Developed by Muhammad Hassan Butt.</p>", unsafe_allow_html=True)# Create columns for sample image buttonscols = st.columns(len(sample_images))for idx, (name, file_path) in enumerate(sample_images.items()):with cols[idx]:if st.button(f"{name}", key=name):uploaded_file = file_path# File uploaderst.subheader("Upload a food image:")61 unmodified lines6263646566676812 unmodified lines81828384858661 unmodified linesopenai.api_key = st.secrets["openai"] # Ensure you have this in your secrets# Main contentst.markdown('<div class="title"><h1>PlateMate - Your Culinary Assistant</h1></div>', unsafe_allow_html=True)# Add banner image with existence checkbanner_image_path = "IR_IMAGE.png"12 unmodified linesst.markdown("---")st.markdown("<p style='text-align: center;'>Developed by Muhammad Hassan Butt.</p>", unsafe_allow_html=True)# File uploaderst.subheader("Upload a food image:")
app.py+1-7