Spaces:
Runtime error
Runtime error
Commit
·
93eb493
1
Parent(s):
39c814c
reopen playsound
Browse files
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 |
-
|
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
|