vilarin commited on
Commit
7dbedbc
·
verified ·
1 Parent(s): a8bc1e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -128,7 +128,7 @@ async def gen_show(script):
128
 
129
  @spaces.GPU(duration=100)
130
  async def generator(link):
131
- if not link.startswith("http://") and not article_url.startswith("https://"):
132
  return "URL must start with 'http://' or 'https://'",None
133
 
134
  text = fetch_text(link)
 
128
 
129
  @spaces.GPU(duration=100)
130
  async def generator(link):
131
+ if not link.startswith("http://") and not link.startswith("https://"):
132
  return "URL must start with 'http://' or 'https://'",None
133
 
134
  text = fetch_text(link)