babloo555777 commited on
Commit
b4ff37c
·
verified ·
1 Parent(s): 5411e76

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app2.py +2 -3
app2.py CHANGED
@@ -7,8 +7,7 @@ st.title("Test App")
7
  st.write("This tool predicts the sales for a specific SuperKart store. Enter the required information below.")
8
 
9
  if st.button("Predict", type='primary'):
10
- result = response.json()
11
- predicted_sales = result["Prediction"]
12
- st.success(predicted_sales)
13
  else:
14
  st.write(f"Error in API request")
 
7
  st.write("This tool predicts the sales for a specific SuperKart store. Enter the required information below.")
8
 
9
  if st.button("Predict", type='primary'):
10
+ result = ["Prediction"]
11
+ st.success(result)
 
12
  else:
13
  st.write(f"Error in API request")