SevenhuijsenM commited on
Commit
25cb334
1 Parent(s): befa5d2

Attempt for radio

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -50,9 +50,7 @@ def audio_to_text(audio):
50
  return text
51
 
52
  def radio_to_text(radio_url):
53
- stream_url = "https://icecast.omroep.nl/radio1-bb-mp3"
54
-
55
- r = requests.get(stream_url, stream=True)
56
 
57
  # Open it and after 10 seconds close the connection
58
  with open('stream.mp3', 'wb') as f:
 
50
  return text
51
 
52
  def radio_to_text(radio_url):
53
+ r = requests.get(radio_url, stream=True)
 
 
54
 
55
  # Open it and after 10 seconds close the connection
56
  with open('stream.mp3', 'wb') as f: