rajoosho commited on
Commit
b58e813
·
verified ·
1 Parent(s): 8c5ab30

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -30,6 +30,7 @@ product_data = {
30
  }
31
 
32
  if st.button("Predict", type='primary'):
 
33
  response = requests.post("https://rajoosho-learning-api.hf.space/v1/predict", json=product_data) # Complete the code to enter user name and space name to correctly define the endpoint
34
  if response.status_code == 200:
35
  result = response.json()
 
30
  }
31
 
32
  if st.button("Predict", type='primary'):
33
+ st.write(f"Predicted API Triggered:")
34
  response = requests.post("https://rajoosho-learning-api.hf.space/v1/predict", json=product_data) # Complete the code to enter user name and space name to correctly define the endpoint
35
  if response.status_code == 200:
36
  result = response.json()