Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files2 unmodified lines345678962 unmodified lines7273742 unmodified linesimport pandas as pd # Used for displaying data# --- Configuration --- #BACKEND_URL = "https://huggingface.co/spaces/RoopaST/Sales-Prediction-Backend/predict" # Corrected to include /predict endpoint# --- Streamlit UI --- #st.set_page_config(page_title="SuperKart Sales Predictor", layout="wide")62 unmodified linesst.markdown("---")st.info("Note: This UI connects to a Flask backend deployed on Hugging Face Spaces. Make sure the backend is running.")2 unmodified lines345678962 unmodified lines727374752 unmodified linesimport pandas as pd # Used for displaying data# --- Configuration --- #BACKEND_URL = "https://huggingface.co/spaces/RoopaST/Sales-Prediction-Backend/predict" # Replace with your deployed backend URL# --- Streamlit UI --- #st.set_page_config(page_title="SuperKart Sales Predictor", layout="wide")62 unmodified linesst.markdown("---")st.info("Note: This UI connects to a Flask backend deployed on Hugging Face Spaces. Make sure the backend is running.")
app.py+2-1