Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesPikachu committed Mar 1, 2022
1 parent 5c8c69d commit 7af5bb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytools/modules/desktoppet/desktoppet.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ def synthesisspeak(self, text=None, audiopath=None):
pygame.mixer.music.load(audiopath)
pygame.mixer.music.play()
while pygame.mixer.music.get_busy():
time.sleep(5)
time.sleep(0.5)
else:
pygame.mixer.init()
pygame.mixer.music.load(audiopath)
pygame.mixer.music.play()
while pygame.mixer.music.get_busy():
time.sleep(5)
time.sleep(0.5)


'''桌面宠物'''
Expand Down

0 comments on commit 7af5bb7

Please sign in to comment.