Spaces:
Sleeping
Sleeping
SevenhuijsenM
commited on
Commit
•
5238f45
1
Parent(s):
25cb334
Attempt for radio
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def radio_to_text(radio_url):
|
|
55 |
# Open it and after 10 seconds close the connection
|
56 |
with open('stream.mp3', 'wb') as f:
|
57 |
# Get the stopping time as a UNIX timestamp
|
58 |
-
stop_after = time.time() +
|
59 |
|
60 |
try:
|
61 |
for block in r.iter_content(1024):
|
|
|
55 |
# Open it and after 10 seconds close the connection
|
56 |
with open('stream.mp3', 'wb') as f:
|
57 |
# Get the stopping time as a UNIX timestamp
|
58 |
+
stop_after = time.time() + 10
|
59 |
|
60 |
try:
|
61 |
for block in r.iter_content(1024):
|