eswardivi commited on
Commit
ecd6a6a
·
verified ·
1 Parent(s): 0cb994f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -52,7 +52,8 @@ def fetch_text(url):
52
  print(full_url)
53
  print("Exited Webpage Extraction")
54
  return validate_url(full_url)
55
- @spaces.GPU
 
56
  def synthesize(article_url,progress_audio=gr.Progress()):
57
  if not article_url.startswith("http://") and not article_url.startswith("https://"):
58
  return "URL must start with 'http://' or 'https://'",None
 
52
  print(full_url)
53
  print("Exited Webpage Extraction")
54
  return validate_url(full_url)
55
+
56
+ @spaces.GPU(duration=150)
57
  def synthesize(article_url,progress_audio=gr.Progress()):
58
  if not article_url.startswith("http://") and not article_url.startswith("https://"):
59
  return "URL must start with 'http://' or 'https://'",None