updated archgw cli to pull from archgw_modelserver from pypi (#169)

* updated archgw cli to pull from archgw_modelserver from pypi

* fix image name

* update rev

---------

Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local>
Co-authored-by: Adil Hafeez <adil@katanemo.com>
This commit is contained in:
Salman Paracha 2024-10-09 21:00:26 -07:00 committed by GitHub
parent 6b70768170
commit 95a0f1be5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 3004 additions and 6 deletions

View file

@ -30,7 +30,7 @@ async def weather(req: WeatherRequest, res: Response):
"temperature": [],
"units": req.units,
}
for i in range(7):
for i in range(req.days):
min_temp = random.randrange(50, 90)
max_temp = random.randrange(min_temp + 5, min_temp + 20)
if req.units.lower() == "celsius" or req.units.lower() == "c":