CCockrum commited on
Commit
32734f2
·
verified ·
1 Parent(s): 6d36580

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -16
app.py CHANGED
@@ -15,22 +15,6 @@ class EnhancedOceanClimateAgent:
15
  def __init__(self):
16
  self.anomaly_threshold = 2.0
17
  self.critical_temp_change = 1.5
18
-
19
- # API endpoints* Running on local URL: http://0.0.0.0:7860, with SSR ⚡ (experimental, to disable set `ssr_mode=False` in `launch()`)
20
- #To create a public link, set `share=True` in `launch()`.
21
- Traceback (most recent call last):
22
- File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 626, in process_events
23
- response = await route_utils.call_process_api(
24
- File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 322, in call_process_api
25
- output = await app.get_blocks().process_api(
26
- File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2230, in process_api
27
- data = await self.postprocess_data(block_fn, result["prediction"], state)
28
- File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2012, in postprocess_data
29
- prediction_value = block.postprocess(prediction_value)
30
- File "/usr/local/lib/python3.10/site-packages/gradio/components/file.py", line 227, in postprocess
31
- size=Path(value).stat().st_size,
32
- File "/usr/local/lib/python3.10/pathlib.py", line 1097, in stat
33
- return self._accessor.stat(self, follow_symlinks=follow_symlinks)
34
 
35
  self.noaa_base_url = "https://api.tidesandcurrents.noaa.gov/api/prod/datagetter"
36
  self.noaa_stations_url = "https://api.tidesandcurrents.noaa.gov/mdapi/prod/webapi/stations.json"
 
15
  def __init__(self):
16
  self.anomaly_threshold = 2.0
17
  self.critical_temp_change = 1.5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  self.noaa_base_url = "https://api.tidesandcurrents.noaa.gov/api/prod/datagetter"
20
  self.noaa_stations_url = "https://api.tidesandcurrents.noaa.gov/mdapi/prod/webapi/stations.json"