disabled the while loop for now, we will run the script each time a participant starts writing
This commit is contained in:
parent
f13a3eb511
commit
6cf607ba07
10
timer.py
10
timer.py
@ -4,8 +4,8 @@ import os
|
|||||||
|
|
||||||
nextturn=['who is next','next','well done','keep going','almost there', 'bonus! bonus! you have another minute', 'what a great edit', "it's like i'm reading The New York Times", 'nice phrasing. next']
|
nextturn=['who is next','next','well done','keep going','almost there', 'bonus! bonus! you have another minute', 'what a great edit', "it's like i'm reading The New York Times", 'nice phrasing. next']
|
||||||
|
|
||||||
while True:
|
# while True:
|
||||||
choice=random.choice(nextturn)
|
time.sleep(60)
|
||||||
cmd="espeak '{}'".format(choice)
|
choice=random.choice(nextturn)
|
||||||
os.system(cmd)
|
cmd="espeak '{}'".format(choice)
|
||||||
time.sleep(60)
|
os.system(cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user