youngshen commited on
Commit
718d4b3
·
verified ·
1 Parent(s): 9483da5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def getHeadlines():
27
  return requests.get ("https://newsapi.org/v2/top-headlines?country=us&apiKey=3bca07c913ec4703a23f6ba03e15b30b").content.decode("utf-8")
28
 
29
 
30
- def predict(text, speaker):
31
  if len(text.strip()) == 0:
32
  return (16000, np.zeros(0).astype(np.int16))
33
 
 
27
  return requests.get ("https://newsapi.org/v2/top-headlines?country=us&apiKey=3bca07c913ec4703a23f6ba03e15b30b").content.decode("utf-8")
28
 
29
 
30
+ def predict(text, speaker, preset):
31
  if len(text.strip()) == 0:
32
  return (16000, np.zeros(0).astype(np.int16))
33