Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -107,7 +107,7 @@ def get_hail_data(address, start_date,end_date,radius_miles):
|
|
| 107 |
|
| 108 |
|
| 109 |
@app.get('/Hail_Docker_Data')
|
| 110 |
-
async def predict(address, start_date,end_date, radius_miles):
|
| 111 |
|
| 112 |
try:
|
| 113 |
results = get_hail_data(address, start_date,end_date, radius_miles)
|
|
|
|
| 107 |
|
| 108 |
|
| 109 |
@app.get('/Hail_Docker_Data')
|
| 110 |
+
async def predict(address: str, start_date: int,end_date: int, radius_miles:int ):
|
| 111 |
|
| 112 |
try:
|
| 113 |
results = get_hail_data(address, start_date,end_date, radius_miles)
|