Arafath10 commited on
Commit
b76a7f0
1 Parent(s): 0eb6944

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -53,7 +53,7 @@ def convert_image_to_base64(image_path):
53
 
54
  # # Function to call the endpoint
55
  def call_my_endpoint():
56
- # #response = requests.get("http://127.0.0.1:8000/my-endpoint")
57
  print(f"Endpoint response: {response.json()}")
58
 
59
  # # Configure the scheduler
 
53
 
54
  # # Function to call the endpoint
55
  def call_my_endpoint():
56
+ response = requests.post('https://research-project-h4fb.onrender.com/refresh_api')
57
  print(f"Endpoint response: {response.json()}")
58
 
59
  # # Configure the scheduler