Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,6 @@ class URLProcessor:
|
|
52 |
'Accept-Language': 'en-US,en;q=0.5',
|
53 |
'Connection': 'keep-alive'
|
54 |
})
|
55 |
-
|
56 |
@sleep_and_retry
|
57 |
@limits(calls=10, period=60) # Rate limiting: 10 calls per minute
|
58 |
def validate_url(self, url: str) -> Dict[str, Union[bool, str]]:
|
|
|
52 |
'Accept-Language': 'en-US,en;q=0.5',
|
53 |
'Connection': 'keep-alive'
|
54 |
})
|
|
|
55 |
@sleep_and_retry
|
56 |
@limits(calls=10, period=60) # Rate limiting: 10 calls per minute
|
57 |
def validate_url(self, url: str) -> Dict[str, Union[bool, str]]:
|