MatteoAldovardi commited on
Commit
f675034
·
1 Parent(s): 7605947
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -93,7 +93,7 @@ async def predict_inference(data: InferenceInput):
93
  def keep_alive():
94
  while True:
95
  try:
96
- requests.get("http://localhost:7860/health")
97
  except Exception:
98
  pass
99
  time.sleep(60) # Ping every 60 seconds
 
93
  def keep_alive():
94
  while True:
95
  try:
96
+ requests.get("http://localhost:8000/health")
97
  except Exception:
98
  pass
99
  time.sleep(60) # Ping every 60 seconds