OuroborosM commited on
Commit
93eb493
·
1 Parent(s): 39c814c

reopen playsound

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -854,8 +854,8 @@ def playsound():
854
  if Filename_Chatbot.split(".")[1] == 'wav':
855
  soundfilename = Filename_Chatbot
856
  print("soundfilename:", soundfilename)
857
- return None
858
- # return gr.update(value = soundfilename)
859
  except Exception as e:
860
  print("playsound error:", e)
861
  return None
 
854
  if Filename_Chatbot.split(".")[1] == 'wav':
855
  soundfilename = Filename_Chatbot
856
  print("soundfilename:", soundfilename)
857
+ # return None
858
+ return gr.update(value = soundfilename)
859
  except Exception as e:
860
  print("playsound error:", e)
861
  return None