bhumitps commited on
Commit
107095a
·
verified ·
1 Parent(s): 73f5b49

Upload ./app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -38,7 +38,8 @@ input_data = {
38
  # Button to trigger prediction
39
  if st.button("Predict Sales"):
40
  # Hugging Face proxy URL for Flask backend
41
- backend_url = "https://huggingface.co/spaces/bhumitps/md-be/predict"
 
42
 
43
  try:
44
  # Send a POST request to the backend API
 
38
  # Button to trigger prediction
39
  if st.button("Predict Sales"):
40
  # Hugging Face proxy URL for Flask backend
41
+ # Replace with the actual URL of your deployed backend API on Hugging Face Spaces
42
+ backend_url = "https://bhumitps-md-be.hf.space/predict"
43
 
44
  try:
45
  # Send a POST request to the backend API