eswardivi commited on
Commit
88c49f0
1 Parent(s): 1bb2f76

minor bool error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def fetch_text(url):
33
  return validate_url(full_url)
34
  @spaces.GPU
35
  def synthesize(article_url,progress_audio=gr.Progress()):
36
- if not article_url.startswith("http://") and article_url.startswith("https://"):
37
  return "URL must start with 'http://' or 'https://'",None
38
 
39
  text = fetch_text(article_url)
 
33
  return validate_url(full_url)
34
  @spaces.GPU
35
  def synthesize(article_url,progress_audio=gr.Progress()):
36
+ if not article_url.startswith("http://") and not article_url.startswith("https://"):
37
  return "URL must start with 'http://' or 'https://'",None
38
 
39
  text = fetch_text(article_url)