Spaces:
Runtime error
Runtime error
Download app.py from AI-Skill-Lab/Noida-RealEstate-AI: direct link, hf CLI and curl.
- Browser
- Download file 791 Bytes
-
https://huggingface.co/spaces/AI-Skill-Lab/Noida-RealEstate-AI/resolve/main/app.py
- Command line
-
hf download hf://spaces/AI-Skill-Lab/Noida-RealEstate-AI/app.py
-
curl -L -o app.py https://huggingface.co/spaces/AI-Skill-Lab/Noida-RealEstate-AI/resolve/main/app.py
791 Bytes
| import streamlit as st | |
| import os | |
| # Page Configuration | |
| st.set_page_config(page_title="Noida AI Video Ads", layout="centered") | |
| st.title("🏠 Real Estate AI Video Ad Maker") | |
| st.info("Noida ke property dealers ke liye ek chota demo") | |
| # Inputs | |
| sector = st.text_input("Property Sector (e.g., Sector 150)") | |
| price = st.text_input("Price (e.g., 1.5 Cr)") | |
| if st.button("Create Ad Concept"): | |
| if sector and price: | |
| st.success(f"Concept Ready for {sector}!") | |
| st.write(f"📢 Script: Looking for a dream home in {sector}? Own a luxury flat at just {price}. Best amenities in Noida!") | |
| # Placeholder for Video Logic | |
| st.warning("Video Rendering ke liye 'requirements.txt' mein moviepy hona zaroori hai.") | |
| else: | |
| st.error("Please fill the details.") |