Robertooo commited on
Commit
a22d803
1 Parent(s): 632fb40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def plot_detections(image_path: str, detections: List[Dict]):
101
  plt.show()
102
 
103
  def process_image(image, conf_thres, iou_thres, model):
104
- api_url = os.getenv('YOLO_API_URL', 'https://1by02rf9s4gqmt-8888.proxy.runpod.net/detect/')
105
  detector = YOLODetector(api_url)
106
 
107
  with NamedTemporaryFile(delete=False, suffix='.png') as temp_file:
 
101
  plt.show()
102
 
103
  def process_image(image, conf_thres, iou_thres, model):
104
+ api_url = os.getenv('YOLO_API_URL', 'https://o3f0aia4gtlf0l-8888.proxy.runpod.net/detect/')
105
  detector = YOLODetector(api_url)
106
 
107
  with NamedTemporaryFile(delete=False, suffix='.png') as temp_file: