Skip to content

Commit

Permalink
Added option to remove ads
Browse files Browse the repository at this point in the history
Issue #1
  • Loading branch information
pncnmnp committed Dec 16, 2022
1 parent e0bfb5d commit bf33f24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion radio.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,9 @@ def flow(self):
"""
for action, meta in self.schema:
speech = None
if action == "up":
if action == "no-ads":
self.rec.ad_prob = 0
elif action == "up":
speech = self.wakeup()
self.speak(speech, announce=True)
speech = self.sprinkle_gpt()
Expand Down

0 comments on commit bf33f24

Please sign in to comment.