Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -163,7 +163,7 @@ def is_valid_youtube_url(text):
|
|
| 163 |
return bool(youtube_regex.match(text))
|
| 164 |
|
| 165 |
def greet(url):
|
| 166 |
-
if not is_valid_youtube_url(
|
| 167 |
return "Please input a valid YouTube URL"
|
| 168 |
|
| 169 |
result, confidence = quantizeEffectiveness(url)
|
|
|
|
| 163 |
return bool(youtube_regex.match(text))
|
| 164 |
|
| 165 |
def greet(url):
|
| 166 |
+
if not is_valid_youtube_url(url):
|
| 167 |
return "Please input a valid YouTube URL"
|
| 168 |
|
| 169 |
result, confidence = quantizeEffectiveness(url)
|