Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ async def get_flights(
|
|
73 |
return {"results":data["airlines"]}
|
74 |
else:
|
75 |
print(f"Error: {response.status_code}")
|
76 |
-
time.sleep(
|
77 |
|
78 |
return {"error": {response.status_code}, "raw_text":{response.text}}
|
79 |
|
|
|
73 |
return {"results":data["airlines"]}
|
74 |
else:
|
75 |
print(f"Error: {response.status_code}")
|
76 |
+
time.sleep(2.5)
|
77 |
|
78 |
return {"error": {response.status_code}, "raw_text":{response.text}}
|
79 |
|