Spaces:
Sleeping
Sleeping
| import streamlit as st | |
| # Video URL (Replace with your own video link) | |
| video_url = "https://youtu.be/J6DiMjD0amo" | |
| # Embed video using HTML & CSS | |
| video_html = f""" | |
| <style> | |
| video {{ | |
| position: fixed; | |
| right: 0; | |
| bottom: 0; | |
| min-width: 100%; | |
| min-height: 100%; | |
| z-index: -1; | |
| }} | |
| </style> | |
| <video autoplay loop muted> | |
| <source src="{video_url}" type="video/mp4"> | |
| </video> | |
| """ | |
| # Display the video background | |
| st.markdown(video_html, unsafe_allow_html=True) | |
| st.title("Object & House Size Estimation") | |
| st.write("Upload an image to detect objects, house size, and wall dimensions.") | |