Spaces:
Sleeping
Sleeping
Download app.py from Muleex12/frontendss: direct link, hf CLI and curl.
- Browser
- Download file 414 Bytes
-
https://huggingface.co/spaces/Muleex12/frontendss/resolve/main/app.py
- Command line
-
hf download hf://spaces/Muleex12/frontendss/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Muleex12/frontendss/resolve/main/app.py
414 Bytes
| import streamlit as st | |
| import os | |
| st.title("SuperKart Sales Prediction") | |
| st.write("App is working successfully") | |
| product_weight = st.number_input("Product Weight") | |
| product_mrp = st.number_input("Product MRP") | |
| if st.button("Predict"): | |
| st.success("Prediction will show here") | |
| # FORCE STREAMLIT TO RUN | |
| if __name__ == "__main__": | |
| os.system("streamlit run app.py --server.port=7860 --server.address=0.0.0.0") |