Spaces:
Running
Running
SevenhuijsenM
commited on
Commit
•
25cb334
1
Parent(s):
befa5d2
Attempt for radio
Browse files
app.py
CHANGED
@@ -50,9 +50,7 @@ def audio_to_text(audio):
|
|
50 |
return text
|
51 |
|
52 |
def radio_to_text(radio_url):
|
53 |
-
|
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:
|