Diego Marroquin commited on
Commit
838224a
·
1 Parent(s): 5e70e2b

Debugging

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -581,7 +581,7 @@ class Nucmonitor(Resource):
581
  return (nucmonitor_response)
582
 
583
  def get_rte_data(self, start_date, end_date):
584
- rte_url = "http://0.0.0.0:7860/nucpy/v1/rte" # RTE endpoint URL
585
  rte_params = {"start_date": start_date, "end_date": end_date}
586
  rte_response = requests.get(rte_url, params=rte_params)
587
  # rte_data = rte_response.json()
@@ -589,7 +589,7 @@ class Nucmonitor(Resource):
589
 
590
  def get_mongo_data(self, start_date, end_date, photo_date, past_date):
591
  print("Getting url")
592
- mongo_url = "http://0.0.0.0:7860/nucpy/v1/raw" # Mongo endpoint URL
593
  print("Getting params")
594
  mongo_params = {"start_date": start_date, "end_date": end_date, "photo_date": photo_date, "past_date": past_date}
595
  print("Getting request")
 
581
  return (nucmonitor_response)
582
 
583
  def get_rte_data(self, start_date, end_date):
584
+ rte_url = "https://dmarr-nucpy-api.hf.space/nucpy/v1/rte" # RTE endpoint URL
585
  rte_params = {"start_date": start_date, "end_date": end_date}
586
  rte_response = requests.get(rte_url, params=rte_params)
587
  # rte_data = rte_response.json()
 
589
 
590
  def get_mongo_data(self, start_date, end_date, photo_date, past_date):
591
  print("Getting url")
592
+ mongo_url = "https://dmarr-nucpy-api.hf.space/nucpy/v1/raw" # Mongo endpoint URL
593
  print("Getting params")
594
  mongo_params = {"start_date": start_date, "end_date": end_date, "photo_date": photo_date, "past_date": past_date}
595
  print("Getting request")