Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def fetch_text(url):
|
|
53 |
print("Exited Webpage Extraction")
|
54 |
return validate_url(full_url)
|
55 |
|
56 |
-
@spaces.GPU(duration=
|
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
|
|
|
53 |
print("Exited Webpage Extraction")
|
54 |
return validate_url(full_url)
|
55 |
|
56 |
+
@spaces.GPU(duration=100)
|
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
|