Spaces:
Runtime error
Runtime error
Commit
·
ddae241
1
Parent(s):
2a2ecc0
back to sound mode
Browse files
app.py
CHANGED
@@ -880,8 +880,8 @@ def playsound():
|
|
880 |
soundfilename = Filename_Chatbot
|
881 |
print("soundfilename:", soundfilename)
|
882 |
# return None
|
883 |
-
|
884 |
-
return soundfilename
|
885 |
except Exception as e:
|
886 |
print("playsound error:", e)
|
887 |
return None
|
|
|
880 |
soundfilename = Filename_Chatbot
|
881 |
print("soundfilename:", soundfilename)
|
882 |
# return None
|
883 |
+
return gr.update(value = soundfilename)
|
884 |
+
# return soundfilename
|
885 |
except Exception as e:
|
886 |
print("playsound error:", e)
|
887 |
return None
|